MathLeftSubSuperscriptElement

Inheritance: java.lang.Object, com.aspose.slides.MathElementBase, com.aspose.slides.BaseScript

All Implemented Interfaces: com.aspose.slides.IMathLeftSubSuperscriptElement

public final class MathLeftSubSuperscriptElement extends BaseScript implements IMathLeftSubSuperscriptElement

Specifies the Sub-Superscript object, which consists of a base and a subscript and superscript placed to the left of the base.


Example:
 
 IMathElement baseElement = new MathematicalText("X");
 IMathElement subscript = new MathematicalText("i");
 IMathElement superscript = new MathematicalText("j");
 MathLeftSubSuperscriptElement leftSubSuperscript = new MathLeftSubSuperscriptElement(baseElement, subscript, superscript);

Constructors

Constructor Description
MathLeftSubSuperscriptElement(IMathElement baseArg, IMathElement subScript, IMathElement superScript) Initializes a new instance of the MathLeftSubSuperscriptElement class.

Methods

Method Description
getSubscript() Subscript
getSuperscript() Superscript
getChildren() Get children elements

MathLeftSubSuperscriptElement(IMathElement baseArg, IMathElement subScript, IMathElement superScript)

public MathLeftSubSuperscriptElement(IMathElement baseArg, IMathElement subScript, IMathElement superScript)

Initializes a new instance of the MathLeftSubSuperscriptElement class.


Example:
 
 IMathElement baseElement = new MathematicalText("X");
 IMathElement subscript = new MathematicalText("i");
 IMathElement superscript = new MathematicalText("j");
 MathLeftSubSuperscriptElement leftSubSuperscript = new MathLeftSubSuperscriptElement(baseElement, subscript, superscript);

Parameters:

Parameter Type Description
baseArg IMathElement
subScript IMathElement
superScript IMathElement

getSubscript()

public final IMathElement getSubscript()

Subscript


Example:
 
 IMathElement baseElement = new MathematicalText("X");
 IMathElement subscript = new MathematicalText("i");
 IMathElement superscript = new MathematicalText("j");
 MathLeftSubSuperscriptElement leftSubSuperscript = new MathLeftSubSuperscriptElement(baseElement, subscript, superscript);
 IMathElement sub = leftSubSuperscript.getSubscript();

Returns: IMathElement

getSuperscript()

public final IMathElement getSuperscript()

Superscript


Example:
 
 IMathElement baseElement = new MathematicalText("X");
 IMathElement subscript = new MathematicalText("i");
 IMathElement superscript = new MathematicalText("j");
 MathLeftSubSuperscriptElement leftSubSuperscript = new MathLeftSubSuperscriptElement(baseElement, subscript, superscript);
 IMathElement sup = leftSubSuperscript.getSuperscript();

Returns: IMathElement

getChildren()

public final IMathElement[] getChildren()

Get children elements

Returns: com.aspose.slides.IMathElement[]