The Aspose.Words.Fonts namespace provides classes and enumerations to access information about fonts used in a document.
Classes | |
class | DefaultFontSubstitutionRule |
Default font substitution rule. To learn more, visit the Working with Fonts documentation article. More... | |
class | FileFontSource |
Represents the single TrueType font file stored in the file system. To learn more, visit the Working with Fonts documentation article. More... | |
class | FolderFontSource |
Represents the folder that contains TrueType font files. To learn more, visit the Working with Fonts documentation article. More... | |
class | FontConfigSubstitutionRule |
Font config substitution rule. To learn more, visit the Working with Fonts documentation article. More... | |
class | FontFallbackSettings |
Specifies font fallback mechanism settings. To learn more, visit the Working with Fonts documentation article. More... | |
class | FontInfo |
Specifies information about a font used in the document. To learn more, visit the Working with Fonts documentation article. More... | |
class | FontInfoCollection |
Represents a collection of fonts used in a document. To learn more, visit the Working with Fonts documentation article. More... | |
class | FontInfoSubstitutionRule |
Font info substitution rule. To learn more, visit the Working with Fonts documentation article. More... | |
class | FontNameSubstitutionRule |
Font substitution rule for processing font name. To learn more, visit the Working with Fonts documentation article. More... | |
class | FontSettings |
Specifies font settings for a document. To learn more, visit the Working with Fonts documentation article. More... | |
class | FontSourceBase |
This is an abstract base class for the classes that allow the user to specify various font sources. To learn more, visit the Working with Fonts documentation article. More... | |
class | FontSubstitutionRule |
This is an abstract base class for the font substitution rule. To learn more, visit the Working with Fonts documentation article. More... | |
class | FontSubstitutionSettings |
Specifies font substitution mechanism settings. To learn more, visit the Working with Fonts documentation article. More... | |
class | MemoryFontSource |
Represents the single TrueType font file stored in memory. To learn more, visit the Working with Fonts documentation article. More... | |
class | PhysicalFontInfo |
Specifies information about physical font available to Aspose.Words font engine. To learn more, visit the Working with Fonts documentation article. More... | |
class | StreamFontSource |
Base class for user-defined stream font source. To learn more, visit the Working with Fonts documentation article. More... | |
class | SystemFontSource |
Represents all TrueType fonts installed to the system. To learn more, visit the Working with Fonts documentation article. More... | |
class | TableSubstitutionRule |
Table font substitution rule. To learn more, visit the Working with Fonts documentation article. More... | |
Enumerations | |
enum class | EmbeddedFontFormat |
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. More... | |
enum class | EmbeddedFontStyle |
Specifies the style of an embedded font inside a FontInfo object. More... | |
enum class | FontFamily |
Represents the font family. More... | |
enum class | FontPitch |
Represents the font pitch. More... | |
enum class | FontSourceType |
Specifies the type of a font source. More... | |
|
strong |
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.
Shows how to extract an embedded font from a document, and save it to the local file system.
Enumerator | |
---|---|
EmbeddedOpenType | Specifies Embedded OpenType (EOT) File Format. This format of embedded fonts used in DOC files. See http://www.w3.org/Submission/EOT for description of the format. |
OpenType | Specifies font, embedded as plain copy of OpenType (TrueType) font file. This format of embedded fonts used in Open Office XML format, including DOCX files. |
|
strong |
Specifies the style of an embedded font inside a FontInfo object.
Shows how to extract an embedded font from a document, and save it to the local file system.
Enumerator | |
---|---|
Regular | Specifies the Regular embedded font. |
Bold | Specifies the Bold embedded font. |
Italic | Specifies the Italic embedded font. |
BoldItalic | Specifies the Bold-Italic embedded font. |
|
strong |
Represents the font family.
A font family is a set of fonts having common stroke width and serif characteristics.
Shows how to access and print details of each font in a document.
|
strong |
Represents the font pitch.
Shows how to access and print details of each font in a document.
Enumerator | |
---|---|
Default | Specifies that no information is available about the pitch of a font. |
Fixed | Specifies that this is a fixed width font. |
Variable | Specifies that this is a proportional width font. |
|
strong |
Specifies the type of a font source.
Shows how to use a font file in the local file system as a font source.
Enumerator | |
---|---|
FontFile | A FileFontSource object that represents single font file. |
FontsFolder | A FolderFontSource object that represents folder with font files. |
MemoryFont | A MemoryFontSource object that represents single font in memory. |
SystemFonts | A SystemFontSource object that represents all fonts installed to the system. |
FontStream | A StreamFontSource object that represents a stream with font data. |