FontFallBackRulesCollectionItem Property

Gets the rule at the specified index. Read-only IFontFallBackRule.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.3.0.0 (20.3)
Syntax
public IFontFallBackRule this[
	int index
] { get; }

Parameters

index
Type: SystemInt32

Property Value

Type: IFontFallBackRule

Implements

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

    //Adding of several rules to collection
    rulesList.Add(new FontFallBackRule(0x400,0x4FF, "Times New Roman"));
    rulesList.Add(new FontFallBackRule(0x3040, 0x309F, "MS Mincho"));

    //Retrieving of object of the first rule in collection
    IFontFallBackRule firstRule = rulesList[0];
}
See Also