Add
MathBlock.Add 方法
将数学元素添加到集合的末尾。
public void Add(IMathElement item)
参数 | 类型 | 描述 |
---|---|---|
item | IMathElement | 要添加到集合末尾的 IMathElement。 |
示例
示例:
[C#]
MathBlock mathBlock = new MathBlock(new MathematicalText("x"));
mathBlock.Add(new MathematicalText("+"));
mathBlock.Add(new MathRadical(new MathematicalText("x"), new MathematicalText("3")));
另请参见
- 接口 IMathElement
- 类 MathBlock
- 命名空间 Aspose.Slides.MathText
- 程序集 Aspose.Slides