FontSubstitutionInfo
FontSubstitutionInfo class
This structure represents the information about the font replacement when it will be rendered.
public class FontSubstitutionInfo
Constructors
Properties
Name | Description |
---|
OriginalFontName { get; } | Indicates source font name in presentation. Read-only String |
SubstitutedFontName { get; } | Indicates the replacement font name for the original font. Read-only String |
Examples
using (Presentation pres = new Presentation("pres.pptx"))
{
foreach (FontSubstitutionInfo fontSubstitution in pres.FontsManager.GetSubstitutions())
{
Console.WriteLine("{0} -> {1}", fontSubstitution.OriginalFontName, fontSubstitution.SubstitutedFontName);
}
}
See Also