FontsManager
FontsManager class
Manages fonts across the presentation.
addEmbeddedFont
Name | Description |
---|
addEmbeddedFont (FontData, int) | Adds the embedded font |
Error
Error | Condition |
---|
ArgumentException | An ArgumentException can be thrown if font data is null or this font is already embedded Keep in mind when copying any fonts that most fonts are copyrighted. First locate the license of a font before hand and verify they can be freely transferred to another machine. |
addEmbeddedFont
Name | Description |
---|
addEmbeddedFont (byte[], int) | Adds the embedded font |
Error
Error | Condition |
---|
ArgumentException | An ArgumentException can be thrown if font data is null or this font is already embedded Keep in mind when copying any fonts that most fonts are copyrighted. First locate the license of a font before hand and verify they can be freely transferred to another machine. |
getEmbeddedFonts
Name | Description |
---|
getEmbeddedFonts () | Returns the fonts embedded in the presentation |
Returns:
FontData
getFontFallBackRulesCollection
Name | Description |
---|
getFontFallBackRulesCollection () | Represents a user’s collection of FontFallBack rules for managing of collections of fonts for proper substitutions by fallback functionality Read/write IFontFallBackRulesCollection. |
Returns:
FontFallBackRulesCollection
getFontSubstRuleList
Name | Description |
---|
getFontSubstRuleList () | Font substitutions to use when rendering. Read/write IFontSubstRuleCollection. |
Returns:
FontSubstRuleCollection
getFonts
Name | Description |
---|
getFonts () | Returns the fonts used in the presentation |
Returns:
FontData
getSubstitutions
Name | Description |
---|
getSubstitutions () | Gets the information about fonts that will be replaced on the presentation’s rendering. |
Returns:
CommentAuthorCollection, MathParagraph, ColumnCollection, TagCollection, ColorOperationCollection, SortedList, DataLabelCollection, GradientStopCollection, ParagraphCollection, FontSubstRuleCollection, VbaReferenceCollection, MathBlock, RowCollection, SlideCollection, FillFormatCollection, EffectStyleCollection, FontFallBackRulesCollection, ExtraColorSchemeCollection, ChartCellCollection, List, SmartArtShapeCollection, ChartCategoryCollection, Collection, ShapeCollection, CustomXmlPartCollection, ImageCollection, Column, CommentCollection, VbaModuleCollection, LineFormatCollection, CellCollection, BehaviorPropertyCollection, SequenceCollection, PortionCollection, TrendlineCollection, SmartArtNodeCollection, GradientStopCollectionEffectiveData, BehaviorCollection, TextAnimationCollection, Dictionary, PieSplitCustomPointCollection, PointCollection, LinkedList, ChartDataWorksheetCollection, ControlCollection, ImageTransformOperationCollection, MasterLayoutSlideCollection, SummaryZoomSectionCollection, SectionSlideCollection, KeyedCollection, SortedDictionary, ChartSeriesCollection, SectionCollection, ImageTransformOCollectionEffectiveData, Sequence, ControlPropertiesCollection, VideoCollection, LayoutSlideCollection, Queue, MotionPath, DigitalSignatureCollection, MasterSlideCollection, Row, Stack, GlobalLayoutSlideCollection, ReadOnlyCollection, AudioCollection, TabCollection, ChartDataPointCollection
removeEmbeddedFont
Name | Description |
---|
removeEmbeddedFont (FontData) | Removes the embedded font |
replaceFont
Parameters:
Name | Type | Description |
---|
sourceFont | FontData | Source font |
destFont | FontData | Destination font |
replaceFont
Name | Description |
---|
replaceFont (FontSubstRule) | Replace font in presentation using information provided in FontSubstRule |
Parameters:
replaceFont
Name | Description |
---|
replaceFont (FontSubstRuleCollection) | Replace font in presentation using information provided in collection of FontSubstRule |
Parameters:
setFontFallBackRulesCollection
Name | Description |
---|
setFontFallBackRulesCollection (FontFallBackRulesCollection) | Represents a user’s collection of FontFallBack rules for managing of collections of fonts for proper substitutions by fallback functionality Read/write IFontFallBackRulesCollection. |
setFontSubstRuleList
Name | Description |
---|
setFontSubstRuleList (FontSubstRuleCollection) | Font substitutions to use when rendering. Read/write IFontSubstRuleCollection. |