Class FontSubstRule
Represents a single font substitution rule that maps a source font name to a destination font name.
Maps to entries in the OOXML p:embeddedFontLst substitution
metadata and the presentation's font substitution table.
Inherited Members
Namespace: DRIT.Presentation
Assembly: DRIT.Presentation.dll
Syntax
public sealed class FontSubstRule
Constructors
FontSubstRule()
Initializes a new instance of the FontSubstRule class.
Declaration
public FontSubstRule()
FontSubstRule(string, string)
Initializes a new instance of the FontSubstRule class with the specified source and destination font names.
Declaration
public FontSubstRule(string sourceFontName, string destFontName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | sourceFontName | |
| string | destFontName |
Properties
DestFontName
Gets or sets the name of the font to substitute in place of the source font.
Declaration
public string DestFontName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SourceFontName
Gets or sets the name of the font to be substituted (the missing or unavailable font).
Declaration
public string SourceFontName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |