Udostępnij za pośrednictwem


FontFamily.GetFamilies(Graphics) Metoda

Definicja

Przestroga

Do not use method GetFamilies, use property Families instead

Przestroga

FontFamily.GetFamilies has been deprecated. Use Families instead.

Zwraca tablicę zawierającą wszystkie FontFamily obiekty dostępne dla określonego kontekstu graficznego.

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

Obiekt Graphics , z którego mają być zwracane FontFamily obiekty.

Zwraca

Tablica FontFamily obiektów dostępnych dla określonego Graphics obiektu.

Atrybuty

Wyjątki

graphics to null.

Dotyczy