Join

Join(IMathElement)

连接数学元素并形成数学块

public 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 IMathBlock Join(string mathText)
参数类型描述
mathTextString要连接的数学文本

返回值

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

示例

示例:

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

另请参阅