IMathBlock

IMathBlock 接口

指定一个位于 MathParagraph 中并在其自身行上开始的数学文本实例。所有数学区域,包括方程式、表达式、方程式或表达式数组以及公式,都由 math block 表示。

public interface IMathBlock : IMathElement, IMathElementCollection

属性

名称描述
AsIMathElement { get; }允许获取基础 IMathElement 接口 IMathElement
AsIMathElementCollection { get; }允许获取基础 IMathElementCollection 接口 IMathElementCollection

方法

名称描述
Delimit(char)使用分隔符字符(不含括号)来分隔所有子元素
Enclose(char, char, char)使用指定字符(如括号或其他)将此块的子元素包裹并使用分隔符字符进行分隔
JoinBlock(IMathBlock)将另一个数学块与此块合并
WriteAsMathMl(Stream)将此 IMathBlock 的内容保存为 MathML

示例

示例:

[C#]
IMathBlock mathBlock = new MathBlock();

另见