FontCollection class (gdiplusheaders.h)

The FontCollection class is an abstract base class. It contains methods for enumerating the font families in a collection of fonts. Objects built from this class include the InstalledFontCollection and PrivateFontCollection classes.

Inheritance

The FontCollection class implements GdiplusBase.

Methods

The FontCollection class has these methods.

 
FontCollection::FontCollection

Creates an empty FontCollection::FontCollection object. (FontCollection.FontCollection)
FontCollection::FontCollection

Creates an empty FontCollection::FontCollection object. (overload 1/2)
FontCollection::GetFamilies

The FontCollection::GetFamilies method gets the font families contained in this font collection.
FontCollection::GetFamilyCount

The FontCollection::GetFamilyCount method gets the number of font families contained in this font collection.
FontCollection::GetLastStatus

The FontCollection::GetLastStatus method returns a value that indicates the result of this FontCollection object's previous method call.

Requirements

Requirement Value
Target Platform Windows
Header gdiplusheaders.h