ColorTranslator Class
Translates colors to and from GDI+ Color structures. This class cannot be inherited.
Assembly: System.Drawing (in System.Drawing.dll)
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() ![]() | FromHtml(String^) | Translates an HTML color representation to a GDI+ Color structure. |
![]() ![]() | FromOle(Int32) | Translates an OLE color value to a GDI+ Color structure. |
![]() ![]() | FromWin32(Int32) | Translates a Windows color value to a GDI+ Color structure. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() ![]() | ToHtml(Color) | Translates the specified Color structure to an HTML string color representation. |
![]() ![]() | ToOle(Color) | Translates the specified Color structure to an OLE color. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
![]() ![]() | ToWin32(Color) | Translates the specified Color structure to a Windows color. |
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

