ColorTranslator Class

 

Translates colors to and from GDI+ Color structures. This class cannot be inherited.

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

System.Object
  System.Drawing.ColorTranslator

[<Sealed>]
type ColorTranslator = class end

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticFromHtml(String)

Translates an HTML color representation to a GDI+ Color structure.

System_CAPS_pubmethodSystem_CAPS_staticFromOle(Int32)

Translates an OLE color value to a GDI+ Color structure.

System_CAPS_pubmethodSystem_CAPS_staticFromWin32(Int32)

Translates a Windows color value to a GDI+ Color structure.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticToHtml(Color)

Translates the specified Color structure to an HTML string color representation.

System_CAPS_pubmethodSystem_CAPS_staticToOle(Color)

Translates the specified Color structure to an OLE color.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticToWin32(Color)

Translates the specified Color structure to a Windows color.

.NET Framework
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.

Return to top
Show: