Add()
IFontFallBackRulesCollection::Add(System::SharedPtr<IFontFallBackRule>) method
Add a new FallBack rule to the end of the collection.
virtual void Aspose::Slides::IFontFallBackRulesCollection::Add(System::SharedPtr<IFontFallBackRule> sourceRule)=0
Arguments
Parameter | Type | Description |
---|---|---|
sourceRule | System::SharedPtr<IFontFallBackRule> | Specified rule for adding |
Remarks
auto pres = MakeObject<Presentation>();
//Getting of empty or preinitialized rules collection from FontsManager
auto rulesList = pres->get_FontsManager()->get_FontFallBackRulesCollection();
//Adding of new rule to collection
rulesList->Add(MakeObject<FontFallBackRule>(0x400, 0x4FF, u"Times New Roman"));
See Also
- Typedef SharedPtr
- Class IFontFallBackRule
- Class IFontFallBackRulesCollection
- Namespace Aspose::Slides
- Library Aspose.Slides