xtd - Reference Guide  0.1.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Public Member Functions | List of all members
xtd::drawing::text::installed_font_collection Class Referencefinal

Represents the fonts installed on the system. This class cannot be inherited. More...

#include <installed_font_collection.h>

Inheritance diagram for xtd::drawing::text::installed_font_collection:
Inheritance graph
[legend]
Collaboration diagram for xtd::drawing::text::installed_font_collection:
Collaboration graph
[legend]

Public Member Functions

 installed_font_collection ()
 Initializes a new instance of the xtd::drawing::text::installed_font_collection class. More...
 
- Public Member Functions inherited from xtd::drawing::text::font_collection
const std::vector< font_family > & families () const
 Gets the array of FontFamily objects associated with this FontCollection. More...
 

Additional Inherited Members

- Protected Member Functions inherited from xtd::drawing::text::font_collection
 font_collection ()
 Initialise new instance of font_collection class. More...
 

Detailed Description

Represents the fonts installed on the system. This class cannot be inherited.

Library
xtd.drawing
Remarks
The xtd::drawing::text::installed_font_collection allows you to get a list of fonts families that are installed on the computer running the application with its Families property. For additional information on fonts and text, including example code, see Using fonts and text.
Do not use the xtd::drawing::text::installed_font_collection class to install a font to Windows, macOS or linux. Instead use the GDI add_font_resource function. An xtd::drawing::text::installed_font_collection object sees only fonts that are installed in Windows before the object is created.

Constructor & Destructor Documentation

◆ installed_font_collection()

xtd::drawing::text::installed_font_collection::installed_font_collection ( )

Initializes a new instance of the xtd::drawing::text::installed_font_collection class.


The documentation for this class was generated from the following file: