public class FontSubstRule extends java.lang.Object implements IFontSubstRule
Represents font subtituition information
| Constructor and Description |
|---|
FontSubstRule(IFontData sourceFont,
IFontData destFont)
Creates new instance.
|
FontSubstRule(IFontData sourceFont,
IFontData destFont,
int fontSubstRule)
Creates new instance.
|
| Modifier and Type | Method and Description |
|---|---|
IFontData |
getDestFont()
Font to use for substitution.
|
int |
getReplaceFontCondition()
Rule to apply for substitution.
|
IFontData |
getSourceFont()
Font to substitute.
|
public FontSubstRule(IFontData sourceFont, IFontData destFont)
Creates new instance.
sourceFont - Source font.destFont - Destination font.public final IFontData getSourceFont()
Font to substitute.
Read-only IFontData.
getSourceFont in interface IFontSubstRulepublic final IFontData getDestFont()
Font to use for substitution.
Read-only IFontData.
getDestFont in interface IFontSubstRulepublic final int getReplaceFontCondition()
Rule to apply for substitution.
Read-only FontSubstCondition.
getReplaceFontCondition in interface IFontSubstRuleCopyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.