Item
MathParagraph-Indexer
Holt das Element am angegebenen Index. Nur-Lese- IMathBlock
.
public IMathBlock this[int index] { get; set; }
Parameter | Beschreibung |
---|---|
index | Der nullbasierte Index des abzurufenden Elements |
Rückgabewert
Der Block eines mathematischen Textes.
Beispiele
Beispiel:
[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];
Siehe Auch
- Schnittstelle IMathBlock
- Klasse MathParagraph
- Namespace Aspose.Slides.MathText
- Assembly Aspose.Slides