System.Windows.Forms.AxHost.GetOleColorFromColor Method

Returns an OLE color value that corresponds to the specified System.Drawing.Color structure.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.CLSCompliant(false)]
protected static uint GetOleColorFromColor (System.Drawing.Color color)

Parameters

color
The System.Drawing.Color structure to translate.

Returns

The OLE color value that represents the translated System.Drawing.Color structure.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0