AxHost::GetOleColorFromColor Method (Color)
.NET Framework (current version)
Returns an OLE color value that corresponds to the specified Color structure.
This API is not CLS-compliant.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
protected: [CLSCompliantAttribute(false)] static unsigned int GetOleColorFromColor( Color color )
Parameters
- color
-
Type:
System.Drawing::Color
The Color structure to translate.
Return Value
Type: System::UInt32The OLE color value that represents the translated Color structure.
.NET Framework
Available since 1.1
Available since 1.1
Show: