AxHost.GetColorFromOleColor(UInt32) Method

Definition

Important

This API is not CLS-compliant.

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

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

Parameters

color
UInt32

The OLE color value to translate.

Returns

Color

The Color structure that represents the translated OLE color value.

Attributes

Applies to

See also