ColorTranslator ColorTranslator ColorTranslator ColorTranslator Class

Definition

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

public ref class ColorTranslator sealed
public sealed class ColorTranslator
type ColorTranslator = class
Public NotInheritable Class ColorTranslator
Inheritance
ColorTranslatorColorTranslatorColorTranslatorColorTranslator

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
FromHtml(String) FromHtml(String) FromHtml(String) FromHtml(String)

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

FromOle(Int32) FromOle(Int32) FromOle(Int32) FromOle(Int32)

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

FromWin32(Int32) FromWin32(Int32) FromWin32(Int32) FromWin32(Int32)

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

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToHtml(Color) ToHtml(Color) ToHtml(Color) ToHtml(Color)

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

ToOle(Color) ToOle(Color) ToOle(Color) ToOle(Color)

Translates the specified Color structure to an OLE color.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
ToWin32(Color) ToWin32(Color) ToWin32(Color) ToWin32(Color)

Translates the specified Color structure to a Windows color.

Applies to