ColorTranslator

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  ); } 


. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net