SetSubSuperscriptOnTheRight

SetSubSuperscriptOnTheRight(IMathElement, IMathElement)

Creates subscript and superscript on the right

public IMathRightSubSuperscriptElement SetSubSuperscriptOnTheRight(IMathElement subscript, 
    IMathElement superscript)
ParameterTypeDescription
subscriptIMathElementSubscript (lower index on the right)
superscriptIMathElementSuperscript (upper index on the right)

Return Value

New math element of type IMathRightSubSuperscriptElement

Examples

Example:

[C#]
IMathElement baseElement = new MathematicalText("N");
IMathElement subscript = new MathematicalText("i");
IMathElement superscript = new MathematicalText("j");
IMathRightSubSuperscriptElement subsuperscript = baseElement.SetSubSuperscriptOnTheRight(subscript, superscript);

See Also


SetSubSuperscriptOnTheRight(string, string)

Creates subscript and superscript on the right

public IMathRightSubSuperscriptElement SetSubSuperscriptOnTheRight(string subscript, 
    string superscript)
ParameterTypeDescription
subscriptStringSubscript (lower index on the right)
superscriptStringSuperscript (upper index on the right)

Return Value

New math element of type IMathRightSubSuperscriptElement

Examples

Example:

[C#]
IMathElement baseElement = new MathematicalText("N");
IMathRightSubSuperscriptElement subsuperscript = baseElement.SetSubSuperscriptOnTheRight("i", "j");

See Also