FontFallBackRulesCollectionAdd Method

Add a specified FallBack rule to the end of the collection.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.3.0.0 (20.3)
Syntax
public void Add(
	IFontFallBackRule sourceRule
)

Parameters

sourceRule
Type: Aspose.SlidesIFontFallBackRule
Specified rule for adding

Implements

IFontFallBackRulesCollectionAdd(IFontFallBackRule)
Examples
[C#]
using (Presentation pres = new Presentation ())
{
    //Getting of empty or preinitialized rules collection from FontsManager
    IFontFallBackRulesCollection rulesList = pres.FontsManager.FontFallBackRulesCollection;

    //Adding of new rule to collection
    rulesList.Add(new FontFallBackRule(0x400,0x4FF, "Times New Roman"));
}
See Also