CustomFontSubstitutionBase

CustomFontSubstitutionBase

Overview

CustomFontSubstitutionBase is a class in Aspose.PDF FOSS for .NET. Inherits from: FontSubstitution.

Base class for a user-defined font substitution: override TrySubstitute to supply a replacement font for an original font name.

This class declares 3 methods for CustomFontSubstitutionBase objects in .NET programs. Available methods include: CustomFontSubstitutionBase, FontSubstitution, TrySubstitute. Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.

Methods

SignatureDescription
CustomFontSubstitutionBase()Creates a substitution whose default TrySubstitute never substitutes.
TrySubstitute(originalFontSpecification: OriginalFontSpecification, substitutionFont: Font?)Calls TrySubstitute(originalFontSpecification, substitutionFont) on this CustomFontSubstitutionBase instance.
FontSubstitution()Creates an empty font substitution.

See Also

 English