com.aspose.words
Class DefaultFontSubstitutionRule

java.lang.Object
  extended by FontSubstitutionRule
      extended by com.aspose.words.DefaultFontSubstitutionRule

public class DefaultFontSubstitutionRule 
extends FontSubstitutionRule

Default font substitution rule. This rule defines single default font name to be used for substitution if the original font is not available.

Property Getters/Setters Summary
java.lang.StringgetDefaultFontName()
voidsetDefaultFontName(java.lang.String value)
           Gets or sets the default font name.
booleangetEnabled()→ inherited from FontSubstitutionRule
voidsetEnabled(boolean value)
           Specifies whether the rule is enabled or not.
 

Property Getters/Setters Detail

getDefaultFontName/setDefaultFontName

public java.lang.String getDefaultFontName() / public void setDefaultFontName(java.lang.String value)
Gets or sets the default font name.

The default value is 'Times New Roman'.


getEnabled/setEnabled

→ inherited from FontSubstitutionRule
public boolean getEnabled() / public void setEnabled(boolean value)
Specifies whether the rule is enabled or not.

See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.