Muokkaa

Jaa


AxHost.GetOleColorFromColor(Color) Method

Definition

Important

This API is not CLS-compliant.

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

protected:
 static System::UInt32 GetOleColorFromColor(System::Drawing::Color color);
[System.CLSCompliant(false)]
protected static uint GetOleColorFromColor (System.Drawing.Color color);
[<System.CLSCompliant(false)>]
static member GetOleColorFromColor : System.Drawing.Color -> uint32
Protected Shared Function GetOleColorFromColor (color As Color) As UInteger

Parameters

color
Color

The Color structure to translate.

Returns

The OLE color value that represents the translated Color structure.

Attributes

Applies to

See also