Aspose.Words.Fonts Namespace

The Aspose.Words.Fonts namespace provides classes and enumerations to access information about fonts used in a document.

Classes
  ClassDescription
Public classFileFontSource
Represents the single TrueType font file stored in the file system.
Public classFolderFontSource
Represents the folder that contains TrueType font files.
Public classCode exampleFontInfo
Specifies information about a font used in the document.
Public classCode exampleFontInfoCollection
Represents a collection of fonts used in a document.
Public classCode exampleFontSettings
Specifies font settings for a document.
Public classFontSourceBase
This is an abstract base class for the classes that allow the user to specify various font sources.
Public classMemoryFontSource
Represents the single TrueType font file stored in memory.
Public classSystemFontSource
Represents all TrueType fonts installed to the system.
Enumerations
  EnumerationDescription
Public enumerationEmbeddedFontFormat

Specifies format of particular embedded font inside FontInfo object.

When saving a document to a file, only embedded fonts of corresponding format are written down.

Public enumerationEmbeddedFontStyle
Specifies the style of an embedded font inside a FontInfo object.
Public enumerationFontFamily
Represents the font family.
Public enumerationFontPitch
Represents the font pitch.
Public enumerationFontSourceType
Specifies the type of a font source.