FontSubstitution.FontSubstitution

FontSubstitution constructor

Initializes a new instance of !:SimpleFontSubstitution class.

public FontSubstitution(string originalFontName, string substitutionFontName, 
    bool replaceAlways = false)
ParameterTypeDescription
originalFontNameStringOriginal font name.
substitutionFontNameStringSubstitution font name.
replaceAlwaysBooleanSpecifies whether fonts should always be replaced. If it set to false, fonts will be replaced only when font with name specified by OriginalFontName parameter is not found on the destination PC. By default false.

See Also