com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IMathSuperscriptElement

  • All Superinterfaces:
    IMathElement
    All Known Implementing Classes:
    MathSuperscriptElement


    public interface IMathSuperscriptElement
    extends IMathElement

    Specifies the superscript object, which consists of a base and a reduced-size superscript placed above and to the right


    Example:
     
     IMathSuperscriptElement superscriptElement = new MathematicalText("N").setSuperscript("i");
     
    • Method Detail

      • getBase

        IMathElement getBase()

        Base argument


        Example:
         
         IMathElement baseElement = new MathematicalText("X");
         IMathElement superscript = new MathematicalText("i");
         IMathSuperscriptElement superscriptElement = new MathSuperscriptElement(baseElement, subscript);
         IMathElement baseElem = superscriptElement.getBase();
         
      • getSuperscript

        IMathElement getSuperscript()

        Superscript


        Example:
         
         IMathElement baseElement = new MathematicalText("X");
         IMathElement superscript = new MathematicalText("i");
         IMathSuperscriptElement superscriptElement = new MathSuperscriptElement(baseElement, superscript);
         IMathElement super = superscriptElement.getSuperscript();