• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

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.

Inheritance
object
FontSubstRule
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
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
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX