Aspose::Pub::FontSubstitution class

FontSubstitution class

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

class FontSubstitution : public System::Object

Methods

MethodDescription
FontSubstitution(System::String, System::String, bool)Initializes a new instance of SimpleFontSubstitution class.
get_OriginalFontName() constGets original font name that should be substituted with SubstitutionFontName
get_ReplaceAlways() constSpecifies 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.
get_SubstitutionFontName() constGets font name that should substitute the OriginalFontName

See Also