com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class MathLeftSubSuperscriptElement

  • All Implemented Interfaces:
    IMathElement, 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);
     
    • Constructor Detail

      • MathLeftSubSuperscriptElement

        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);
         
    • Method Detail

      • 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();
         
        Specified by:
        getSubscript in interface IMathLeftSubSuperscriptElement
      • 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();
         
        Specified by:
        getSuperscript in interface IMathLeftSubSuperscriptElement