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 classCode exampleDefaultFontSubstitutionRule
Default font substitution rule.
Public classCode exampleFileFontSource
Represents the single TrueType font file stored in the file system.
Public classCode exampleFolderFontSource
Represents the folder that contains TrueType font files.
Public classCode exampleFontConfigSubstitutionRule
Font config substitution rule.
Public classCode exampleFontFallbackSettings
Specifies font fallback mechanism settings.
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 exampleFontInfoSubstitutionRule
Font info substitution rule.
Public classCode exampleFontSettings
Specifies font settings for a document.
Public classCode exampleFontSourceBase
This is an abstract base class for the classes that allow the user to specify various font sources.
Public classCode exampleFontSubstitutionRule
This is an abstract base class for the font substitution rule.
Public classCode exampleFontSubstitutionSettings
Specifies font substitution mechanism settings.
Public classCode exampleMemoryFontSource
Represents the single TrueType font file stored in memory.
Public classCode examplePhysicalFontInfo
Specifies information about physical font available to Aspose.Words font engine.
Public classStreamFontSource
Base class for user-defined stream font source.
Public classCode exampleSystemFontSource
Represents all TrueType fonts installed to the system.
Public classCode exampleTableSubstitutionRule
Table font substitution rule.
Enumerations
  EnumerationDescription
Public enumerationCode exampleEmbeddedFontFormat

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 enumerationCode exampleEmbeddedFontStyle
Specifies the style of an embedded font inside a FontInfo object.
Public enumerationCode exampleFontFamily
Represents the font family.
Public enumerationCode exampleFontPitch
Represents the font pitch.
Public enumerationCode exampleFontSourceType
Specifies the type of a font source.