AlignScripts
MathRightSubSuperscriptElement.AlignScripts property
Specifies the alignment of subscript/superscript. When true, subscript and superscript are aligned horizontally to each other. When false, they are kerned to the shape of the base. Default value is false.
public bool AlignScripts { get; set; }
Examples
Example:
[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;
See Also
- class MathRightSubSuperscriptElement
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides