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.

Method Description
FontCollection::FontCollection Creates an empty FontCollection::FontCollection object.
FontCollection::FontCollection Creates an empty FontCollection::FontCollection object.
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

   
Target Platform Windows
Header gdiplusheaders.h