Add

IFontFallBackRulesCollection.Add method

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

public void Add(IFontFallBackRule sourceRule)
ParameterTypeDescription
sourceRuleIFontFallBackRuleSpecified rule for adding

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