RemoveAt
MathParagraph.RemoveAt method
Removes an item at the specified index of the collection.
public void RemoveAt(int index)
Parameter | Type | Description |
---|---|---|
index | Int32 | The zero-based index of the item to remove. |
Examples
Example:
[C#]
IAutoShape shape = slide.Shapes.AddMathShape(x, y, width, height);
IMathParagraph mathParagraph = (shape.TextFrame.Paragraphs[0].Portions[0] as MathPortion).MathParagraph;
IMathBlock block = new MathBlock(new MathematicalText("y"));
mathParagraph.Add(block);
mathParagraph.RemoveAt(0);
See Also
- class MathParagraph
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides