IMathParagraph
IMathParagraph interface
Mathematical paragraph that is a container for mathematical blocks (IMathBlock)
public interface IMathParagraph : IMathBlockCollection
Properties
Name | Description |
---|---|
AsIMathBlockCollection { get; } | Allows to get base IMathBlockCollection interface IMathBlockCollection |
Justification { get; set; } | Paragraph Justification Default value: CenteredAsGroup |
Methods
Name | Description |
---|---|
ToLatex() | Gets mathematical equation in LaTeX format |
WriteAsMathMl(Stream) | Saves content of this IMathParagraph as MathML |
Examples
Example:
[C#]
IAutoShape shape = slide.Shapes.AddMathShape(x, y, width, height);
IMathParagraph mathParagraph = (shape.TextFrame.Paragraphs[0].Portions[0] as MathPortion).MathParagraph;
mathParagraph.Justification = MathJustification.LeftJustified;
See Also
- interface IMathBlockCollection
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides