AlignScripts

IMathRightSubSuperscriptElement.AlignScripts 属性

指定下标/上标的对齐方式。当为true时,下标和上标彼此水平对齐。当为false时,它们被调整为基线的形状。默认值为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;

另请参阅