FontFallbackSettingsSave Method (String)

Saves the current fallback settings to file.

Namespace:  Aspose.Words.Fonts
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntax
public void Save(
	string fileName
)

Parameters

fileName
Type: SystemString
Output file name.
Examples
Shows how to load and save font fallback settings from file.
Document doc = new Document(MyDir + "Rendering.docx");

// By default fallback settings are initialized with predefined settings which mimics the Microsoft Word fallback
FontSettings fontSettings = new FontSettings();
fontSettings.FallbackSettings.Load(MyDir + "Font fallback rules.xml");

doc.FontSettings = fontSettings;
doc.Save(ArtifactsDir + "Font.LoadFontFallbackSettingsFromFile.pdf");

// Saves font fallback setting by string
doc.FontSettings.FallbackSettings.Save(ArtifactsDir + "FallbackSettings.xml");
See Also