Class ColorTranslator

ColorTranslator class

Translates colors to and from GDI+ Color structures. This class cannot be inherited.

public sealed class ColorTranslator

Methods

NameDescription
static FromHtml(string)Takes color from the HTML color.
static FromOle(int)Takes color from the OLE color.
static FromWin32(int)Takes color from the HTML color.
static ToHtml(Color)Creates HTML color from the color.
static ToOle(Color)Translates OLE color to color.
static ToWin32(Color)Translates the color to win32 color.

See Also