GetSubstitutions
IFontsManager.GetSubstitutions method
Gets the information about fonts that will be replaced on the presentation’s rendering.
public IEnumerable<FontSubstitutionInfo> GetSubstitutions()
Return Value
Collection of all fonts substitution FontSubstitutionInfo
.
Examples
using (Presentation pres = new Presentation("pres.pptx"))
{
foreach (var fontSubstitution in pres.FontsManager.GetSubstitutions())
{
Console.WriteLine("{0} -> {1}", fontSubstitution.OriginalFontName, fontSubstitution.SubstitutedFontName);
}
}
See Also
- class FontSubstitutionInfo
- interface IFontsManager
- namespace Aspose.Slides
- assembly Aspose.Slides