FontFamily.GetFamilies(Graphics) Método

Definición

Precaución

Do not use method GetFamilies, use property Families instead

Precaución

FontFamily.GetFamilies has been deprecated. Use Families instead.

Devuelve una matriz que contiene todos los objetos FontFamily disponibles para el contexto de gráficos actual.

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

Parámetros

graphics
Graphics

Objeto Graphics a partir del que se van a devolver objetos FontFamily.

Devoluciones

Matriz de objetos FontFamily disponibles para el objeto Graphics especificado.

Atributos

Excepciones

graphics es null.

Se aplica a