AxHost.GetColorFromOleColor Method (UInt32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

This API is not CLS-compliant.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

[CLSCompliantAttribute(false)]
protected static Color GetColorFromOleColor(
	uint color
)

Parameters

color
Type: System.UInt32

The OLE color value to translate.

Return Value

Type: System.Drawing.Color

The Color structure that represents the translated OLE color value.

.NET Framework
Available since 1.1
Return to top
Show: