Join

Join(IMathElement)

用这个数学块连接一个数学元素

public override IMathBlock Join(IMathElement mathElement)
范围类型描述
mathElementIMathElement元素待加入

返回值

IMathBlock 的当前实例

例子

示例:

[C#]
IMathElement element1 = new MathematicalText("x");
IMathElement element2 = new MathematicalText("y");
IMathBlock block = element1.Join(element2);

也可以看看


Join(string)

用这个数学块连接一个数学文本

public override IMathBlock Join(string mathText)
范围类型描述
mathTextString数学文本要加入

返回值

包含此实例和指定参数的新 IMathBlock

例子

示例:

[C#]
IMathElement element = new MathematicalText("x");
IMathBlock block = element.Join("+y");

也可以看看