March 2003
Intermediate to advanced
896 pages
32h 35m
English
ColorTranslator
This class is used to translate a Color to and
from various interop color representations, including an HTML color
string, Win32 GDI, and Win32 OLE colors.
public sealed class ColorTranslator { // Public Static Methods public static Color FromHtml(string htmlColor); public static Color FromOle(int oleColor); public static Color FromWin32(int win32Color); public static string ToHtml(Color c); public static int ToOle(Color c); public static int ToWin32(Color c); }
Read now
Unlock full access