RemoveAt
IMathElementCollection.RemoveAt method
Removes the element at the specified index of the collection.
public void RemoveAt(int index)
Parameter | Type | Description |
---|---|---|
index | Int32 | The zero-based index of the element to remove. |
Examples
Example:
[C#]
IMathElementCollection collection = new MathBlock(new MathematicalText("x"));
MathematicalText plusElement = new MathematicalText("+");
collection.Add(plusElement);
collection.Insert(0, new MathRadical(new MathematicalText("x"), new MathematicalText("3")));
collection.RemoveAt(2);
See Also
- interface IMathElementCollection
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides