Condividi tramite


FontFamily.GetFamilies(Graphics) Metodo

Definizione

Attenzione

Do not use method GetFamilies, use property Families instead

Attenzione

FontFamily.GetFamilies has been deprecated. Use Families instead.

Restituisce una matrice che contiene tutti gli oggetti FontFamily disponibili per il contesto grafico specificato.

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

Parametri

graphics
Graphics

Oggetto Graphics da cui recuperare gli oggetti FontFamily.

Restituisce

Matrice di oggetti FontFamily disponibili per l'oggetto Graphics specificato.

Attributi

Eccezioni

graphics è null.

Si applica a