com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IMathSubscriptElement

  • All Superinterfaces:
    IMathElement
    All Known Implementing Classes:
    MathSubscriptElement


    public interface IMathSubscriptElement
    extends IMathElement

    Specifies the subscript object, which consists of a base and a reduced-size subscript placed below and to the right.


    Example:
     
     IMathSubscriptElement subscriptElement = new MathematicalText("N").setSubscript("i");
     
    • Method Detail

      • getBase

        IMathElement getBase()

        Base argument


        Example:
         
         IMathElement baseElement = new MathematicalText("X");
         IMathElement subscript = new MathematicalText("i");
         MathSubscriptElement subscriptElement = new MathSubscriptElement(baseElement, subscript);
         IMathElement baseElem = subscriptElement.getBase();
         
      • getSubscript

        IMathElement getSubscript()

        Subscript


        Example:
         
         IMathElement baseElement = new MathematicalText("X");
         IMathElement subscript = new MathematicalText("i");
         MathSubscriptElement subscriptElement = new MathSubscriptElement(baseElement, subscript);
         IMathElement sub = subscriptElement.getSubscript();