com.groupdocs.conversion.contracts

Class FontSubstitute

  • All Implemented Interfaces:
    com.aspose.ms.System.IEquatable<ValueObject>


    public class FontSubstitute
    extends ValueObject
    Describes substitution for missing font.
    • Method Detail

      • create

        public static FontSubstitute create(String originalFont,
                            String substituteWith)
        Instantiate new font substitution pair.
        Parameters:
        originalFont - Font from the source document.
        substituteWith - Font which will be used to replace originalFont.
        Returns:
        substitution pair
      • getOriginalFontName

        public String getOriginalFontName()
        The original font name.
        Returns:
        the original font name.
      • getSubstituteFontName

        public String getSubstituteFontName()
        The substitute font name.
        Returns:
        the substitute font name.