DekGenius.com
[ Team LiB ] Previous Section Next Section

ColorTranslator

System.Drawing (system.drawing.dll)sealed class

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);
}
    [ Team LiB ] Previous Section Next Section