RemoveAt
MathParagraph.RemoveAt Methode
Entfernt ein Element an dem angegebenen Index der Sammlung.
public void RemoveAt(int index)
Parameter | Typ | Beschreibung |
---|---|---|
index | Int32 | Der nullbasierte Index des zu entfernenden Elements. |
Beispiele
Beispiel:
[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);
Siehe Auch
- Klasse MathParagraph
- Namespace Aspose.Slides.MathText
- Assembly Aspose.Slides