Class ColorTranslator

Class ColorTranslator

اسم الفضاء : Aspose.Imaging تجميع: Aspose.Imaging.dll (25.4.0)

يترجم الألوان إلى و من الهياكل الألوان GDI+ لا يمكن إرث هذه الفئة.

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(الستار)

يأخذ اللون من لون HTML.

public static Color FromHtml(string htmlColor)

Parameters

htmlColor string

لون HTML

Returns

Color

من اللون .

FromOle(إنت)

يأخذ اللون من لون OLE.

public static Color FromOle(int oleColor)

Parameters

oleColor int

هو اللون .

Returns

Color

من اللون .

FromWin32(إنت)

يأخذ اللون من لون HTML.

public static Color FromWin32(int win32Color)

Parameters

win32Color int

Win32 الألوان

Returns

Color

من اللون .

ToHtml(Color)

إنشاء لون HTML من اللون.

public static string ToHtml(Color c)

Parameters

c Color

فئة الألوان

Returns

string

لون الحبل HTML.

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

لون Win32

 عربي