Class ColorTranslator
Class ColorTranslator
De naam: Aspose.Imaging Verzameling: Aspose.Imaging.dll (25.5.0)
Vertaalt kleuren naar en uit GDI+ kleurstructuren. deze klasse kan niet worden geërfd.
public sealed class ColorTranslatorInheritance
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
De kleur .
FromOle(Int)
Neem kleur van de OLE kleur.
public static Color FromOle(int oleColor)Parameters
oleColor int
De kleur.
Returns
De kleur .
FromWin32(Int)
De kleur is afkomstig van de HTML kleur.
public static Color FromWin32(int win32Color)Parameters
win32Color int
Win32 kleur.
Returns
De kleur .
ToHtml(Color)
Het creëert HTML kleur uit de kleur.
public static string ToHtml(Color c)Parameters
c Color
De kleurklasse.
Returns
De html string kleur.
ToOle(Color)
Vertaald van kleur naar kleur.
public static int ToOle(Color c)Parameters
c Color
De kleur .
Returns
De olie kleur.
ToWin32(Color)
De kleur wordt vertaald naar win32 kleur.
public static int ToWin32(Color c)Parameters
c Color
De kleur .
Returns
De win32 kleur.