Document Solutions for Imaging
DS.Documents.Imaging Assembly / GrapeCity.Documents.Text Namespace / SystemFontCollection Class / NoSystemFonts Property

In This Topic
    NoSystemFonts Property
    In This Topic
    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.

    Syntax
    'Declaration
     
    Public Shared Property NoSystemFonts As System.Boolean
    public static System.bool NoSystemFonts {get; set;}
    See Also