Class ColorTranslator

Class ColorTranslator

Nombre del espacio: Aspose.Imaging Asamblea: Aspose.Imaging.dll (25.4.0)

Traducen los colores a y de las estructuras de color GDI+. esta clase no puede ser heredada.

public sealed class ColorTranslator

Inheritance

object ColorTranslator

Miembros heredados

object.GetType() ,y, object.ToString() ,y, object.Equals(object?) ,y, object.Equals(object?, object?) ,y, object.ReferenceEquals(object?, object?) ,y, object.GetHashCode()

Methods

FromHtml(El string)

Toma color desde el color HTML.

public static Color FromHtml(string htmlColor)

Parameters

htmlColor string

El color HTML.

Returns

Color

El color.

FromOle(Int)

Toma el color del ace.

public static Color FromOle(int oleColor)

Parameters

oleColor int

El color.

Returns

Color

El color.

FromWin32(Int)

Toma color desde el color HTML.

public static Color FromWin32(int win32Color)

Parameters

win32Color int

Win32 de color.

Returns

Color

El color.

ToHtml(Color)

Crea el color HTML desde el color.

public static string ToHtml(Color c)

Parameters

c Color

La clase de color.

Returns

string

El color de la string HTML.

ToOle(Color)

Traducir el color a color.

public static int ToOle(Color c)

Parameters

c Color

El color.

Returns

int

El color del aceite.

ToWin32(Color)

Traducir el color a Win32 color.

public static int ToWin32(Color c)

Parameters

c Color

El color.

Returns

int

El Win32 color.

 Español