AlignScripts

MathRightSubSuperscriptElement.AlignScripts property

Spécifie l’alignement des indices/exposants. Lorsque vrai, l’indice et l’exposant sont alignés horizontalement l’un par rapport à l’autre. Lorsque faux, ils sont crénés à la forme de la base. La valeur par défaut est faux.

public bool AlignScripts { get; set; }

Exemples

Exemple :

[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;

Voir également