com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IMathBar

  • All Superinterfaces:
    IMathElement
    All Known Implementing Classes:
    MathBar


    public interface IMathBar
    extends IMathElement

    Specifies the bar function, consisting of a base argument and an overbar or underbar


    Example:
     
     IMathBar mathBar = new MathBar(new MathematicalText("x"));
     
    • Method Detail

      • getBase

        IMathElement getBase()

        Base argument


        Example:
         
         IMathBar mathBar = new MathBar(new MathematicalText("x"));
         IMathElement base = mathBar.getBase();
         
      • getPosition

        int getPosition()

        Position of the bar line. Default: Top


        Example:
         
         IMathBar mathBar = new MathBar(new MathematicalText("x"));
         mathBar.setPosition(MathTopBotPositions.Bottom);
         
      • setPosition

        void setPosition(int value)

        Position of the bar line. Default: Top


        Example:
         
         IMathBar mathBar = new MathBar(new MathematicalText("x"));
         mathBar.setPosition(MathTopBotPositions.Bottom);