Add()
IMathBlockCollection::Add(System::SharedPtr<IMathBlock>) method
Adds IMathBlock to the end of collection.
virtual void Aspose::Slides::MathText::IMathBlockCollection::Add(System::SharedPtr<IMathBlock> item)=0
Arguments
| Parameter | Type | Description | 
|---|---|---|
| item | System::SharedPtr<IMathBlock> | A mathematical block that will be added to the end of the collection | 
Remarks
Example:
auto blockCollection = System::MakeObject<MathParagraph>();
blockCollection->Add(System::MakeObject<MathBlock>(System::MakeObject<MathematicalText>(u"x")));
See Also
- Typedef SharedPtr
 - Class IMathBlock
 - Class IMathBlockCollection
 - Namespace Aspose::Slides::MathText
 - Library Aspose.Slides