public interface IFontsManager
Manages fonts across the presentation.
Modifier and Type | Method and Description |
---|---|
void |
addEmbeddedFont(byte[] fontData,
int embedFontRule)
Adds the embedded font
|
void |
addEmbeddedFont(IFontData fontData,
int embedFontRule)
Adds the embedded font.
|
IFontData[] |
getEmbeddedFonts()
Returns the fonts embedded in the presentation
|
IFontData[] |
getFonts()
Returns the fonts used in the presentation
|
IFontSubstRuleCollection |
getFontSubstRuleList()
Font substitutions to use when rendering
Read/write
IFontSubstRuleCollection . |
void |
removeEmbeddedFont(IFontData fontData)
Removes the embedded font
|
void |
replaceFont(IFontData sourceFont,
IFontData destFont)
Replace font in presentation
|
void |
replaceFont(IFontSubstRule substRule)
Replace font in presentation using information provided in
IFontSubstRule |
void |
replaceFont(IFontSubstRuleCollection substRules)
Replace font in presentation using information provided in collection of
IFontSubstRule |
void |
setFontSubstRuleList(IFontSubstRuleCollection value)
Font substitutions to use when rendering
Read/write
IFontSubstRuleCollection . |
IFontSubstRuleCollection getFontSubstRuleList()
Font substitutions to use when rendering
Read/write IFontSubstRuleCollection
.
void setFontSubstRuleList(IFontSubstRuleCollection value)
Font substitutions to use when rendering
Read/write IFontSubstRuleCollection
.
IFontData[] getFonts()
Returns the fonts used in the presentation
IFontData[] getEmbeddedFonts()
Returns the fonts embedded in the presentation
void removeEmbeddedFont(IFontData fontData)
Removes the embedded font
void addEmbeddedFont(IFontData fontData, int embedFontRule)
Adds the embedded font.
com.aspose.ms.System.ArgumentException
- An ArgumentException can be thrown if font data is null or this font is already embedded
void addEmbeddedFont(byte[] fontData, int embedFontRule)
Adds the embedded font
com.aspose.ms.System.ArgumentException
- An ArgumentException can be thrown if font data is null or this font is already embedded
void replaceFont(IFontData sourceFont, IFontData destFont)
Replace font in presentation
sourceFont
- Source fontdestFont
- Destination fontvoid replaceFont(IFontSubstRule substRule)
Replace font in presentation using information provided in IFontSubstRule
substRule
- Font substitution infovoid replaceFont(IFontSubstRuleCollection substRules)
Replace font in presentation using information provided in collection of IFontSubstRule
substRules
- Font substitution info collectionCopyright © 2004-2019 Aspose Pty Ltd. All Rights Reserved.