Add
MathParagraph.Add method
Adds IMathBlock to the end of collection.
public void Add(IMathBlock mathBlock)
Parameter | Type | Description |
---|---|---|
mathBlock | IMathBlock | A mathematical block that will be added to the end of the collection |
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("x")));
See Also
- interface IMathBlock
- class MathParagraph
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides