AxHost.GetOleColorFromColor(Color) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Important
This API is not CLS-compliant.
Returns an OLE color value that corresponds to the specified Color structure.
protected:
static System::UInt32 GetOleColorFromColor(System::Drawing::Color color);
[System.CLSCompliant(false)]
protected static uint GetOleColorFromColor (System.Drawing.Color color);
[<System.CLSCompliant(false)>]
static member GetOleColorFromColor : System.Drawing.Color -> uint32
Protected Shared Function GetOleColorFromColor (color As Color) As UInteger
Parameters
Returns
The OLE color value that represents the translated Color structure.
- Attributes
Applies to
See also
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.