Sdílet prostřednictvím


FontFamily.GetFamilies(Graphics) Metoda

Definice

Upozornění

Do not use method GetFamilies, use property Families instead

Upozornění

FontFamily.GetFamilies has been deprecated. Use Families instead.

Vrátí pole, které obsahuje všechny FontFamily objekty dostupné pro zadaný grafický kontext.

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()

Parametry

graphics
Graphics

Objekt Graphics , ze kterého se mají vracet FontFamily objekty.

Návraty

Pole FontFamily objektů, které jsou k dispozici pro zadaný Graphics objekt.

Atributy

Výjimky

graphics je null.

Platí pro