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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.