Table of Contents

Class ColorTranslator

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

Translates colors to and from GDI+ Color objects.

public static class ColorTranslator
Inheritance
ColorTranslator

Methods

FromHtml(string)

Translates an Html color representation to a GDI+ Color.

FromOle(int)

Translates an Ole color value to a GDI+ Color.

FromWin32(int)

Translates an Win32 color value to a GDI+ Color.

ToHtml(Color)

Translates the specified Color to an Html string color representation.

ToOle(Color)

Translates the specified Color to an Ole color.

ToWin32(Color)

Translates the specified Color to a Win32 color.