SystemFontSource class

SystemFontSource class

Represents all TrueType fonts installed to the system. To learn more, visit the Working with Fonts documentation article.

Inheritance: SystemFontSourceFontSourceBase

Constructors

NameDescription
SystemFontSource()Ctor.
SystemFontSource(priority)Ctor.

Properties

NameDescription
priorityReturns the font source priority.
(Inherited from FontSourceBase)
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)
getSystemFontFolders()Returns system font folders or empty array if folders are not accessible.

See Also