FolderFontSource class

FolderFontSource class

Represents the folder that contains TrueType font files. To learn more, visit the Working with Fonts documentation article.

Inheritance: FolderFontSourceFontSourceBase

Constructors

NameDescription
FolderFontSource(folderPath, scanSubfolders)Ctor.
FolderFontSource(folderPath, scanSubfolders, priority)Ctor.

Properties

NameDescription
folderPathPath to the folder.
priorityReturns the font source priority.
(Inherited from FontSourceBase)
scanSubfoldersDetermines whether or not to scan the subfolders.
typeReturns the type of the font source.

Methods

NameDescription
asFileFontSource()Cast FontSourceBase object to FileFontSource.
(Inherited from FontSourceBase)
asFolderFontSource()Cast FontSourceBase object to FolderFontSource.
(Inherited from FontSourceBase)
asMemoryFontSource()Cast FontSourceBase object to MemoryFontSource.
(Inherited from FontSourceBase)
asStreamFontSource()Cast FontSourceBase object to StreamFontSource.
(Inherited from FontSourceBase)
asSystemFontSource()Cast FontSourceBase object to SystemFontSource.
(Inherited from FontSourceBase)

See Also