Class ColorTranslator

Class ColorTranslator

De naam: Aspose.Imaging Verzameling: Aspose.Imaging.dll (25.4.0)

Vertaalt kleuren naar en uit GDI+ kleurstructuren. deze klasse kan niet worden geërfd.

public sealed class ColorTranslator

Inheritance

object ColorTranslator

Geëerbiede leden

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

Methods

FromHtml(String)

De kleur is afkomstig van de HTML kleur.

public static Color FromHtml(string htmlColor)

Parameters

htmlColor string

De HTML kleur.

Returns

Color

De kleur .

FromOle(Int)

Neem kleur van de OLE kleur.

public static Color FromOle(int oleColor)

Parameters

oleColor int

De kleur.

Returns

Color

De kleur .

FromWin32(Int)

De kleur is afkomstig van de HTML kleur.

public static Color FromWin32(int win32Color)

Parameters

win32Color int

Win32 kleur.

Returns

Color

De kleur .

ToHtml(Color)

Het creëert HTML kleur uit de kleur.

public static string ToHtml(Color c)

Parameters

c Color

De kleurklasse.

Returns

string

De html string kleur.

ToOle(Color)

Vertaald van kleur naar kleur.

public static int ToOle(Color c)

Parameters

c Color

De kleur .

Returns

int

De olie kleur.

ToWin32(Color)

De kleur wordt vertaald naar win32 kleur.

public static int ToWin32(Color c)

Parameters

c Color

De kleur .

Returns

int

De win32 kleur.

 Nederlands