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

ParameterTypeDescription
itemSystem::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