FontFamily.GetFamilies(Graphics) Methode

Definition

Achtung

Do not use method GetFamilies, use property Families instead

Achtung

FontFamily.GetFamilies has been deprecated. Use Families instead.

Gibt ein Array mit allen FontFamily-Objekten zurück, die für den angegebenen Grafikkontext verfügbar sind.

public:
 static cli::array <System::Drawing::FontFamily ^> ^ GetFamilies(System::Drawing::Graphics ^ graphics);
[System.Obsolete("Do not use method GetFamilies, use property Families instead")]
public static System.Drawing.FontFamily[] GetFamilies (System.Drawing.Graphics graphics);
[System.Obsolete("FontFamily.GetFamilies has been deprecated. Use Families instead.")]
public static System.Drawing.FontFamily[] GetFamilies (System.Drawing.Graphics graphics);
public static System.Drawing.FontFamily[] GetFamilies (System.Drawing.Graphics graphics);
[<System.Obsolete("Do not use method GetFamilies, use property Families instead")>]
static member GetFamilies : System.Drawing.Graphics -> System.Drawing.FontFamily[]
[<System.Obsolete("FontFamily.GetFamilies has been deprecated. Use Families instead.")>]
static member GetFamilies : System.Drawing.Graphics -> System.Drawing.FontFamily[]
static member GetFamilies : System.Drawing.Graphics -> System.Drawing.FontFamily[]
Public Shared Function GetFamilies (graphics As Graphics) As FontFamily()

Parameter

graphics
Graphics

Das Graphics-Objekt, aus dem FontFamily-Objekte zurückgegeben werden sollen.

Gibt zurück

Ein Array von FontFamily-Objekten, die für das angegebene Graphics-Objekt verfügbar sind.

Attribute

Ausnahmen

graphics ist null.

Gilt für: