FontsManager

FontsManager class

Manages fonts across the presentation.

addEmbeddedFont

NameDescription
addEmbeddedFont (FontData, int)Adds the embedded font

Error

ErrorCondition
ArgumentExceptionAn 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

NameDescription
addEmbeddedFont (byte[], int)Adds the embedded font

Error

ErrorCondition
ArgumentExceptionAn 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

NameDescription
getEmbeddedFonts ()Returns the fonts embedded in the presentation

Returns: FontData


getFontFallBackRulesCollection

NameDescription
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

NameDescription
getFontSubstRuleList ()Font substitutions to use when rendering. Read/write IFontSubstRuleCollection.

Returns: FontSubstRuleCollection


getFonts

NameDescription
getFonts ()Returns the fonts used in the presentation

Returns: FontData


getSubstitutions

NameDescription
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

NameDescription
removeEmbeddedFont (FontData)Removes the embedded font

replaceFont

NameDescription
replaceFont (FontData, FontData)Replace font in presentation

Parameters:

NameTypeDescription
sourceFontFontDataSource font
destFontFontDataDestination font

replaceFont

NameDescription
replaceFont (FontSubstRule)Replace font in presentation using information provided in FontSubstRule

Parameters:

NameTypeDescription
substRuleFontSubstRuleFont substitution info

replaceFont

NameDescription
replaceFont (FontSubstRuleCollection)Replace font in presentation using information provided in collection of FontSubstRule

Parameters:

NameTypeDescription
substRulesFontSubstRuleCollectionFont substitution rules collection

setFontFallBackRulesCollection

NameDescription
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

NameDescription
setFontSubstRuleList (FontSubstRuleCollection)Font substitutions to use when rendering. Read/write IFontSubstRuleCollection.