DS.Documents.Imaging Assembly / GrapeCity.Documents.Text Namespace / FontCollection Class

In This Topic
FontCollection Class Methods
In This Topic

For a list of all members of this type, see FontCollection members.

Public Methods
 NameDescription
Public Method (Inherited from System.Collections.ObjectModel.Collection<Font>)
Public MethodAppends one or more font family names to the internal list of fallback font families.  
Public MethodAppends one or more fonts to the internal fallback font list.  
Public MethodAppends fonts from the specified list to the collection.  
Public MethodSearches for a fallback font containing the given code point that looks similar to the source font.  
Public Method (Inherited from System.Collections.ObjectModel.Collection<Font>)
Public MethodClears the internal list of fallback font families.  
Public MethodClears the internal list of fallback fonts.  
Public MethodCreates a copy of the current FontCollection.  
Public Method (Inherited from System.Collections.ObjectModel.Collection<Font>)
Public Method (Inherited from System.Collections.ObjectModel.Collection<Font>)
Public MethodOverloaded. Searches for a font with the specified family name and style.  
Public MethodSearches for the first font having the specified file name.  
Public MethodSearches for the first font having the specified font path.  
Public MethodSearches for the first font with specified full name.

Full font name that reflects all family and relevant subfamily descriptors.

 
Public MethodGets a snapshot of the internal list of fallback font families.  
Public MethodGets a snapshot of the internal fallback font list.  
Public Method (Inherited from System.Collections.ObjectModel.Collection<Font>)
Public Method (Inherited from System.Collections.ObjectModel.Collection<Font>)
Public MethodOverloaded. Loads all fonts from a specified byte array into the collection.

Use the RegisterFont method if there is a font file.

 
Public MethodAppends all fonts (*.ttf, *.otf, *.ttc files) from the specified folder to the FontCollection.  
Public MethodAppends all fonts from the specified font file to the collection.  
Public Method (Inherited from System.Collections.ObjectModel.Collection<Font>)
Public Method (Inherited from System.Collections.ObjectModel.Collection<Font>)
Public MethodRemoves one or more font family names from the internal list of fallback font families.  
Public MethodRemoves one or more fonts from the internal fallback font list.  
Public MethodOverloaded. Returns the list of fonts with the specified family name.  
Public MethodOverloaded. Returns the list of fonts having the same specified file name.  
Public MethodOverloaded. Returns the list of fonts having the same specified font path.  
Public MethodOverloaded. Returns the list of fonts with the specified full name.

Full font name that reflects all family and relevant subfamily descriptors.

 
Public MethodOverloaded. 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.

 
Top
See Also