Add
MathParagraph.Add method
将 IMathBlock 添加到集合末尾。
public void Add(IMathBlock mathBlock)
范围 | 类型 | 描述 |
---|---|---|
mathBlock | IMathBlock | 将添加到集合末尾的数学块 |
例子
示例:
[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")));
也可以看看
- interface IMathBlock
- class MathParagraph
- 命名空间 Aspose.Slides.MathText
- 部件 Aspose.Slides