RemoveAt()

IMathBlockCollection::RemoveAt(int32_t) method

Removes an item at the specified index of the collection.

virtual void Aspose::Slides::MathText::IMathBlockCollection::RemoveAt(int32_t index)=0

Arguments

ParameterTypeDescription
indexint32_tThe zero-based index of the item to remove.

Remarks

Example:

auto blockCollection = System::MakeObject<MathParagraph>();
auto block = System::MakeObject<MathBlock>(System::MakeObject<MathematicalText>(u"y"));
blockCollection->Add(block);
blockCollection->RemoveAt(0);

See Also