Insert
IMathBlockCollection.Insert-Methode
Fügt IMathBlock an der angegebenen Stelle in die Sammlung ein.
public void Insert(int index, IMathBlock item)
Parameter | Typ | Beschreibung |
---|---|---|
index | Int32 | Der nullbasierte Index, an dem ein Element eingefügt werden soll. |
item | IMathBlock | Der einzufügende IMathBlock. |
Beispiele
Beispiel:
[C#]
IMathBlockCollection blockCollection = new MathParagraph();
IMathBlock block = new MathBlock(new MathematicalText("y"));
blockCollection.Insert(0, block);
Siehe auch
- Schnittstelle IMathBlock
- Schnittstelle IMathBlockCollection
- Namespace Aspose.Slides.MathText
- Assembly Aspose.Slides