Document Solutions for Imaging
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Text Namespace / SystemFontCollection Class
Properties Methods

In This Topic
    SystemFontCollection Class Members
    In This Topic

    The following tables list the members exposed by SystemFontCollection.

    Public Properties
     NameDescription
    Public Property (Inherited from System.Collections.ObjectModel.ReadOnlyCollection<Font>)
    Public PropertyGets 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.

     
    Public Property (Inherited from System.Collections.ObjectModel.ReadOnlyCollection<Font>)
    Public Propertystatic (Shared in Visual Basic)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.

     
    Top
    Public Methods
     NameDescription
    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 MethodSearches for a fallback font containing the given code point that looks similar to the source font.  
    Public MethodClears the internal list of fallback font families.  
    Public MethodClears the internal list of fallback fonts.  
    Public Method (Inherited from System.Collections.ObjectModel.ReadOnlyCollection<Font>)
    Public Method (Inherited from System.Collections.ObjectModel.ReadOnlyCollection<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.ReadOnlyCollection<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