IMathParagraph
IMathParagraph interface
数学段落,它是数学块 (IMathBlock) 的容器
public interface IMathParagraph : IMathBlockCollection
特性
姓名 | 描述 |
---|---|
AsIMathBlockCollection { get; } | 允许获取基础 IMathBlockCollection 接口 IMathBlockCollection |
Justification { get; set; } | 段落对齐 默认值:CenteredAsGroup |
方法
姓名 | 描述 |
---|---|
WriteAsMathMl(Stream) | 将此IMathParagraph 的内容保存为 MathML |
例子
示例:
[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;
也可以看看
- interface IMathBlockCollection
- 命名空间 Aspose.Slides.MathText
- 部件 Aspose.Slides