Class FontSubstitution

FontSubstitution class

Represents a class for a font substitution strategy based on font name.

public class FontSubstitution

Constructors

NameDescription
FontSubstitution(string, string, bool)Initializes a new instance of !:SimpleFontSubstitution class.

Properties

NameDescription
OriginalFontName { get; }Gets original font name that should be substituted with SubstitutionFontName
ReplaceAlways { get; }Specifies whether fonts should always be replaced. If it set to false, fonts are substituted only when font with name specified by OriginalFontName parameter is not found on the destination PC.
SubstitutionFontName { get; }Gets font name that should substitute the OriginalFontName

See Also