Item
MathParagraph indexer
Gets the item at the specified index. Read-only IMathBlock
.
public IMathBlock this[int index] { get; set; }
Parameter | Description |
---|---|
index | The zero-based index of the item to get |
Return Value
The block of a mathematical text.
Examples
Example:
[C#]
IAutoShape shape = slide.Shapes.AddMathShape(x, y, width, height);
IMathParagraph mathParagraph = (shape.TextFrame.Paragraphs[0].Portions[0] as MathPortion).MathParagraph;
mathParagraph.Add(new MathBlock(new MathematicalText("block1")));
mathParagraph.Add(new MathBlock(new MathematicalText("block2")));
IMathBlock block = mathParagraph[1];
See Also
- interface IMathBlock
- class MathParagraph
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides