JoinBlock
IMathBlock.JoinBlock method
连接另一个数学块
public IMathBlock JoinBlock(IMathBlock other)
范围 | 类型 | 描述 |
---|---|---|
other | IMathBlock | 连接块 |
返回值
加入后的数学块
例子
示例:
[C#]
IMathBlock block1 = new MathSuperscriptElement(new MathematicalText("c"), new MathematicalText("2")).Join(new MathematicalText("="));
IMathBlock block2 = new MathSuperscriptElement(new MathematicalText("a"), new MathematicalText("2")).Join(new MathematicalText("+"))
.Join(new MathSuperscriptElement(new MathematicalText("b"), new MathematicalText("2")));
IMathBlock block3 = block1.JoinBlock(block2);
也可以看看
- interface IMathBlock
- 命名空间 Aspose.Slides.MathText
- 部件 Aspose.Slides