FontFamily.GetFamilies(Graphics) Método

Definição

Cuidado

Do not use method GetFamilies, use property Families instead

Cuidado

FontFamily.GetFamilies has been deprecated. Use Families instead.

Retorna uma matriz que contém todos os objetos FontFamily disponíveis para o contexto de gráficos especificado.

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

O objeto Graphics do qual retornar objetos FontFamily.

Retornos

Uma matriz de objetos FontFamily disponíveis para o objeto Graphics especificado.

Atributos

Exceções

graphics é null.

Aplica-se a