NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

AxHost.GetColorFromOleColor

Maps from an OLE COLOR to a System.Drawing.Color

[Visual Basic]
Public Shared Function GetColorFromOleColor( _
   ByVal color As UInt32 _
) As Color
[C#]
public static Color GetColorFromOleColor(
   uint color
);
[C++]
public: static Color GetColorFromOleColor(
   unsigned int color
);
[JScript]
public static function GetColorFromOleColor(
   color : UInt32
) : Color;

Parameters

color
the OLE Color to convert

Return Value

the resulting System.Drawing.Color object

See Also

AxHost Class | AxHost Members | System.WinForms Namespace