AxHost.GetColorFromOleColor Method (UInt32)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on 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)

protected static Color GetColorFromOleColor(
	uint 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