Class ColorTranslator
Class ColorTranslator
Именује се: Aspose.Imaging Асамблеја: Aspose.Imaging.dll (25.5.0)
Преводи боје у и из структура Цвет ГДИ+ Цвет. Ова класа се не може наследити.
public sealed class ColorTranslatorInheritance
Наслеђени чланови
object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Methods
FromHtml(Стринг)
Узима боју од ХТМЛ боје.
public static Color FromHtml(string htmlColor)Parameters
htmlColor string
ХТМЛ боја
Returns
у боји .
FromOle(Инт)
Узима боју од ОЛЕ боје.
public static Color FromOle(int oleColor)Parameters
oleColor int
Она је боја.
Returns
у боји .
FromWin32(Инт)
Узима боју од ХТМЛ боје.
public static Color FromWin32(int win32Color)Parameters
win32Color int
Вин32 боја.
Returns
у боји .
ToHtml(Color)
Креира ХТМЛ боју из боје.
public static string ToHtml(Color c)Parameters
c Color
Класа боја је.
Returns
Цвет ХТМЛ струје.
ToOle(Color)
Преводи боју у боју.
public static int ToOle(Color c)Parameters
c Color
у боји .
Returns
Боја је уље.
ToWin32(Color)
Преводи боју на win32 боја.
public static int ToWin32(Color c)Parameters
c Color
у боји .
Returns
Вин32 боја.