FontFamily.GetFamilies(Graphics) FontFamily.GetFamilies(Graphics) FontFamily.GetFamilies(Graphics) Method

Definition

Warning

This API is now obsolete.

Returns an array that contains all the FontFamily objects available for the specified graphics context.

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);
static member GetFamilies : System.Drawing.Graphics -> System.Drawing.FontFamily[]

Parameters

graphics
Graphics Graphics Graphics

The Graphics object from which to return FontFamily objects.

Returns

An array of FontFamily objects available for the specified Graphics object.

Exceptions

Applies to