Class ColorTranslator

Class ColorTranslator

Именује се: Aspose.Imaging Асамблеја: Aspose.Imaging.dll (25.4.0)

Преводи боје у и из структура Цвет ГДИ+ Цвет. Ова класа се не може наследити.

public sealed class ColorTranslator

Inheritance

object ColorTranslator

Наслеђени чланови

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

Color

у боји .

FromOle(Инт)

Узима боју од ОЛЕ боје.

public static Color FromOle(int oleColor)

Parameters

oleColor int

Она је боја.

Returns

Color

у боји .

FromWin32(Инт)

Узима боју од ХТМЛ боје.

public static Color FromWin32(int win32Color)

Parameters

win32Color int

Вин32 боја.

Returns

Color

у боји .

ToHtml(Color)

Креира ХТМЛ боју из боје.

public static string ToHtml(Color c)

Parameters

c Color

Класа боја је.

Returns

string

Цвет ХТМЛ струје.

ToOle(Color)

Преводи боју у боју.

public static int ToOle(Color c)

Parameters

c Color

у боји .

Returns

int

Боја је уље.

ToWin32(Color)

Преводи боју на win32 боја.

public static int ToWin32(Color c)

Parameters

c Color

у боји .

Returns

int

Вин32 боја.

 Српски