Class FontInfo
Describes a font used in the presentation, including its typeface name and whether it is embedded.
Maps to entries in the OOXML p:embeddedFontLst and the
font collection of the presentation.
Inherited Members
Namespace: DRIT.Presentation
Assembly: DRIT.Presentation.dll
Syntax
public sealed class FontInfo
Constructors
FontInfo()
Initializes a new instance of the FontInfo class.
Declaration
public FontInfo()
FontInfo(string)
Initializes a new instance of the FontInfo class with the specified typeface name.
Declaration
public FontInfo(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name |
Properties
CharacterSet
Gets or sets the character set (Unicode range) covered by the embedded font, when applicable.
Declaration
public string CharacterSet { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Family
Gets or sets the font family index (pitch family) for the font.
Declaration
public byte? Family { get; set; }
Property Value
| Type | Description |
|---|---|
| byte? |
IsEmbedded
Gets or sets whether the font is embedded in the presentation package.
Declaration
public bool IsEmbedded { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Name
Gets or sets the typeface name of the font (e.g. "Arial", "Calibri").
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Panose
Gets or sets the panose classification number for the font, when known.
Declaration
public string Panose { get; set; }
Property Value
| Type | Description |
|---|---|
| string |