Name | Description | |
---|---|---|
FontCollection Constructor | Initializes a new instance of the FontCollection class. |
The following tables list the members exposed by FontCollection.
Name | Description | |
---|---|---|
FontCollection Constructor | Initializes a new instance of the FontCollection class. |
Name | Description | |
---|---|---|
Count | (Inherited from System.Collections.ObjectModel.Collection<Font>) | |
DefaultFont | Gets or sets the default font. | |
Item | (Inherited from System.Collections.ObjectModel.Collection<Font>) | |
SyncRoot | Gets an object that can be used to synchronize access to the FontCollection. | |
SystemFonts | Gets the collection of system fonts. |
Name | Description | |
---|---|---|
Add | (Inherited from System.Collections.ObjectModel.Collection<Font>) | |
AppendFallbackFontFamilies | Appends one or more font family names to the internal list of fallback font families. | |
AppendFallbackFonts | Appends one or more fonts to the internal fallback font list. | |
AppendFonts | Appends fonts from the specified list to the collection. | |
ChooseFallbackFont | Searches for a fallback font containing the given code point that looks similar to the source font. | |
Clear | (Inherited from System.Collections.ObjectModel.Collection<Font>) | |
ClearFallbackFontFamilies | Clears the internal list of fallback font families. | |
ClearFallbackFonts | Clears the internal list of fallback fonts. | |
Clone | Creates a copy of the current FontCollection. | |
Contains | (Inherited from System.Collections.ObjectModel.Collection<Font>) | |
CopyTo | (Inherited from System.Collections.ObjectModel.Collection<Font>) | |
FindFamilyName | Overloaded. Searches for a font with the specified family name and style. | |
FindFileName | Searches for the first font having the specified file name. | |
FindFontPath | Searches for the first font having the specified font path. | |
FindFullName | Searches for the first font with specified full name.
Full font name that reflects all family and relevant subfamily descriptors. | |
GetFallbackFontFamilies | Gets a snapshot of the internal list of fallback font families. | |
GetFallbackFonts | Gets a snapshot of the internal fallback font list. | |
IndexOf | (Inherited from System.Collections.ObjectModel.Collection<Font>) | |
Insert | (Inherited from System.Collections.ObjectModel.Collection<Font>) | |
LoadFonts | Overloaded. Loads all fonts from a specified byte array into the collection.
Use the RegisterFont method if there is a font file. | |
RegisterDirectory | Appends all fonts (*.ttf, *.otf, *.ttc files) from the specified folder to the FontCollection. | |
RegisterFont | Appends all fonts from the specified font file to the collection. | |
Remove | (Inherited from System.Collections.ObjectModel.Collection<Font>) | |
RemoveAt | (Inherited from System.Collections.ObjectModel.Collection<Font>) | |
RemoveFallbackFontFamilies | Removes one or more font family names from the internal list of fallback font families. | |
RemoveFallbackFonts | Removes one or more fonts from the internal fallback font list. | |
SelectByFamilyName | Overloaded. Returns the list of fonts with the specified family name. | |
SelectByFileName | Overloaded. Returns the list of fonts having the same specified file name. | |
SelectByFontPath | Overloaded. Returns the list of fonts having the same specified font path. | |
SelectByFullName | Overloaded. Returns the list of fonts with the specified full name.
Full font name that reflects all family and relevant subfamily descriptors. | |
SelectByTypographicFamilyName | Overloaded. Returns the list of fonts with the specified typographic family name.
The typographic family grouping doesn't impose any constraints on the number of faces within it, in contrast with the 4-style family grouping. |