Insert
IMathBlockCollection.Insert method
Inserts IMathBlock into the collection at the specified index.
public void Insert(int index, IMathBlock item)
Parameter | Type | Description |
---|---|---|
index | Int32 | The zero-based index at which an item should be inserted. |
item | IMathBlock | The IMathBlock to insert. |
Examples
Example:
[C#]
IMathBlockCollection blockCollection = new MathParagraph();
IMathBlock block = new MathBlock(new MathematicalText("y"));
blockCollection.Insert(0, block);
See Also
- interface IMathBlock
- interface IMathBlockCollection
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides