RemoveAt

MathParagraph.RemoveAt method

Entfernt ein Element am angegebenen Index der Sammlung.

public void RemoveAt(int index)
ParameterTypBeschreibung
indexInt32Der 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