IMathBlock

IMathBlock interface

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

public interface IMathBlock : IMathElement, IMathElementCollection

Properties

NameDescription
AsIMathElement { get; }允许获取基础 IMathElement 接口 IMathElement
AsIMathElementCollection { get; }允许获取基础 IMathElementCollection 接口 IMathElementCollection

Methods

NameDescription
Delimit(char)用分隔符字符(不带括号)限定所有子元素
Enclose(char, char, char)用指定字符(如括号或其他作为框架)包含此块的子元素,并用分隔符字符限定
JoinBlock(IMathBlock)将另一个数学块与此块连接
WriteAsMathMl(Stream)将此 IMathBlock 的内容保存为 MathML

Examples

示例:

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

See Also