Name | Description | |
---|---|---|
Count | (Inherited from System.Collections.ObjectModel.ReadOnlyCollection<Font>) | |
DefaultFont | Gets or sets the default system font.
If no system fonts were found, this value will be null. You can test for this condition at program startup, and assign a font to it if it is null. | |
Item | (Inherited from System.Collections.ObjectModel.ReadOnlyCollection<Font>) | |
NoSystemFonts | Gets or sets a value indicating whether the automatic loading of system fonts is to be omitted in the static constructor of the FontCollection class.
The default is false, and the FontCollection's static constructor loads all fonts installed in the system. This is usually fast and does not consume significant resources, but sometimes may cause problems (e.g. if an installed font file is corrupt). In such cases set this property to true at program startup, before accessing any members of the FontCollection class. |