ColorTranslator Class

Translates colors to and from GDI+ Color structures. This class cannot be inherited.
Inheritance Hierarchy
SystemObject
  System.DrawingColorTranslator

Namespace:  System.Drawing
Assembly:  Aspose.Drawing (in Aspose.Drawing.dll) Version: 20.9.0.0 (20.9.0)
Syntax
C#
public sealed class ColorTranslator

The ColorTranslator type exposes the following members.

Constructors
  NameDescription
Public methodColorTranslator
Initializes a new instance of the ColorTranslator class
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodStatic memberFromHtml
Translates an HTML color representation to a GDI+ Color structure.
Public methodStatic memberFromOle
Translates an OLE color value to a GDI+ Color structure.
Public methodStatic memberFromWin32
Translates a Windows color value to a GDI+ Color structure.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodStatic memberToHtml
Translates the specified Color structure to an HTML string color representation.
Public methodToString (Inherited from Object.)
See Also