RemoveAt()

MathParagraph::RemoveAt(int32_t) method

Removes an item at the specified index of the collection.

void Aspose::Slides::MathText::MathParagraph::RemoveAt(int32_t index) override

Arguments

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

Remarks

Example:

auto shape = slide->get_Shapes()->AddMathShape(x, y, width, height);
auto mathParagraph = (System::AsCast<MathPortion>(shape->get_TextFrame()->get_Paragraphs()->idx_get(0)->get_Portions()->idx_get(0)))->get_MathParagraph();
auto block = System::MakeObject<MathBlock>(System::MakeObject<MathematicalText>(u"y"));
mathParagraph->Add(block);
mathParagraph->RemoveAt(0);

See Also