AxHost.GetOleColorFromColor(Color) Methode

Definition

Wichtig

Diese API ist nicht CLS-kompatibel.

Gibt einen OLE-Farbwert zurück, der der angegebenen Color-Struktur entspricht.

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

Parameter

color
Color

Die zu übersetzende Color-Struktur.

Gibt zurück

UInt32

Der OLE-Farbwert, der die übersetzte Color-Struktur darstellt.

Attribute

Gilt für

Siehe auch