AlignScripts

IMathRightSubSuperscriptElement.AlignScripts property

指定下标/上标的对齐方式。 当为真时,下标和上标相互水平对齐。 当为 false 时,它们被紧缩到底部的形状。 默认值为假。

public bool AlignScripts { get; set; }

例子

示例:

[C#]
IMathElement baseElement = new MathematicalText("X");
IMathElement subscript = new MathematicalText("i");
IMathElement superscript = new MathematicalText("j");
MathRightSubSuperscriptElement subsuperscript = new MathRightSubSuperscriptElement(baseElement, subscript, superscript);
subsuperscript.AlignScripts = true;

也可以看看