Class ColorTranslator
Class ColorTranslator
Il nome: Aspose.Imaging Assemblea: Aspose.Imaging.dll (25.5.0)
Traduzione di colori in e da strutture GDI+ Color.Questa classe non può essere ereditata.
public sealed class ColorTranslatorInheritance
I membri ereditari
object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Methods
FromHtml(String)
Prende colore dal colore HTML.
public static Color FromHtml(string htmlColor)Parameters
htmlColor string
Il colore HTML.
Returns
Il colore .
FromOle(int)
Prende il colore dall’olio.
public static Color FromOle(int oleColor)Parameters
oleColor int
Il suo colore.
Returns
Il colore .
FromWin32(int)
Prende colore dal colore HTML.
public static Color FromWin32(int win32Color)Parameters
win32Color int
Win32 di colore.
Returns
Il colore .
ToHtml(Color)
Crea il colore HTML dal colore.
public static string ToHtml(Color c)Parameters
c Color
La classe dei colori.
Returns
Il colore della string html.
ToOle(Color)
tradurre il colore in colore.
public static int ToOle(Color c)Parameters
c Color
Il colore .
Returns
Il colore dell’olio.
ToWin32(Color)
Traduzione del colore in win32 colore.
public static int ToWin32(Color c)Parameters
c Color
Il colore .
Returns
Il colore Win32