FontInfo

Overview

FontInfo is a class in Aspose.Words FOSS for .NET.

Specifies information about a font used in the document.

This class provides 2 methods for working with FontInfo objects in .NET programs. Available methods include: GetEmbeddedFont, GetEmbeddedFontAsOpenType. All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package. Properties: AltName, Charset, EmbeddingLicensingRights, Family, IsTrueType, Name, and 2 more.

Properties

NameTypeAccessDescription
PitchFontPitchRead/WriteThe pitch indicates if the font is fixed pitch, proportionally spaced, or relies on a default setting.
IsTrueTypeboolRead/WriteIndicates that this font is a TrueType or OpenType font as opposed to a raster or vector font.
FamilyFontFamilyRead/WriteGets or sets the font family this font belongs to.
CharsetintRead/WriteGets or sets the character set for the font.
Panosebyte[]Read/WriteGets or sets the PANOSE typeface classification number.
NamestringReadGets the name of the font.
AltNamestringRead/WriteGets or sets the alternate name for the font.
EmbeddingLicensingRightsFontEmbeddingLicensingRightsReadGets the embedded font licensing rights.

Methods

SignatureDescription
GetEmbeddedFont(format: EmbeddedFontFormat, style: EmbeddedFontStyle)Gets a specific embedded font file.
GetEmbeddedFontAsOpenType(style: EmbeddedFontStyle)Gets an embedded font file in OpenType format.

See Also