com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class MathLimit

  • All Implemented Interfaces:
    IMathElement, IMathLimit


    public final class MathLimit
    extends MathElementBase
    implements IMathLimit

    Specifies the Limit object, consisting of text on the baseline and reduced-size text immediately above or below it.


    Example:
     
     MathLimit limitElement = new MathLimit(new MathematicalText("lim"), new MathematicalText("𝑛→∞"));
     
    • Constructor Detail

      • MathLimit

        public MathLimit(IMathElement baseArg,
                         IMathElement limit,
                         boolean upperLimit)

        Initializes a new instance of the MathLimit class.


        Example:
         
         MathLimit limitElement = new MathLimit(new MathematicalText("lim"), new MathematicalText("𝑛→∞"), false);
         
      • MathLimit

        public MathLimit(IMathElement baseArg,
                         IMathElement limit)

        Initializes a new instance of the MathLimit class with lower limit


        Example:
         
         MathLimit limitElement = new MathLimit(new MathematicalText("lim"), new MathematicalText("𝑛→∞"));
         
    • Method Detail

      • getBase

        public final IMathElement getBase()

        Base argument


        Example:
         
         MathLimit limitElement = new MathLimit(new MathematicalText("lim"), new MathematicalText("𝑛→∞"));
         IMathElement baseArg = limitElement.getBase();
         
        Specified by:
        getBase in interface IMathLimit
      • getLimit

        public final IMathElement getLimit()

        Limit argument


        Example:
         
         MathLimit limitElement = new MathLimit(new MathematicalText("lim"), new MathematicalText("𝑛→∞"));
         IMathElement limitArg = limitElement.getLimit();
         
        Specified by:
        getLimit in interface IMathLimit
      • getUpperLimit

        public final boolean getUpperLimit()

        Specifies upper or lower limit


        Example:
         
         MathLimit limitElement = new MathLimit(new MathematicalText("lim"), new MathematicalText("𝑛→∞"));
         limitElement.setUpperLimit(false);
         
        Specified by:
        getUpperLimit in interface IMathLimit
      • setUpperLimit

        public final void setUpperLimit(boolean value)

        Specifies upper or lower limit


        Example:
         
         MathLimit limitElement = new MathLimit(new MathematicalText("lim"), new MathematicalText("𝑛→∞"));
         limitElement.setUpperLimit(false);
         
        Specified by:
        setUpperLimit in interface IMathLimit