DocumentFontSettings Property
Gets or sets document font settings.

Namespace: Aspose.Words
Assembly: Aspose.Words (in Aspose.Words.dll) Version: 19.9
Syntax
public FontSettings FontSettings { get; set; }

Property Value

Type: FontSettings
Remarks

This property allows to specify font settings per document. If set to null, default static font settings DefaultInstance will be used.

The default value is null.

Examples
Shows how to define alternative fonts if original does not exist
[C#]

FontSettings fontSettings = new FontSettings();
fontSettings.SubstitutionSettings.TableSubstitution.SetSubstitutes("Times New Roman", new String[] { "Slab", "Arvo" });
See Also