MathLimit

Inheritance: java.lang.Object, com.aspose.slides.MathElementBase

All Implemented Interfaces: com.aspose.slides.IMathLimit, com.aspose.slides.IHasControlCharacterProperties

public final class MathLimit extends MathElementBase implements IMathLimit, IHasControlCharacterProperties

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("\ud835\udc5b\u2192\u221e"));

Constructors

ConstructorDescription
MathLimit(IMathElement baseArg, IMathElement limit, boolean upperLimit)Initializes a new instance of the MathLimit class.
MathLimit(IMathElement baseArg, IMathElement limit)Initializes a new instance of the MathLimit class with lower limit

Methods

MethodDescription
getBase()Base argument
getLimit()Limit argument
getUpperLimit()Specifies upper or lower limit
setUpperLimit(boolean value)Specifies upper or lower limit
getChildren()Get children elements
getControlCharacterProperties()Control Character Properties

MathLimit(IMathElement baseArg, IMathElement limit, boolean upperLimit)

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("\ud835\udc5b\u2192\u221e"), false);

Parameters:

ParameterTypeDescription
baseArgIMathElement
limitIMathElement
upperLimitboolean

MathLimit(IMathElement baseArg, IMathElement limit)

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("\ud835\udc5b\u2192\u221e"));

Parameters:

ParameterTypeDescription
baseArgIMathElement
limitIMathElement

getBase()

public final IMathElement getBase()

Base argument


Example:
 
 MathLimit limitElement = new MathLimit(new MathematicalText("lim"), new MathematicalText("\ud835\udc5b\u2192\u221e"));
 IMathElement baseArg = limitElement.getBase();

Returns: IMathElement

getLimit()

public final IMathElement getLimit()

Limit argument


Example:
 
 MathLimit limitElement = new MathLimit(new MathematicalText("lim"), new MathematicalText("\ud835\udc5b\u2192\u221e"));
 IMathElement limitArg = limitElement.getLimit();

Returns: IMathElement

getUpperLimit()

public final boolean getUpperLimit()

Specifies upper or lower limit


Example:
 
 MathLimit limitElement = new MathLimit(new MathematicalText("lim"), new MathematicalText("\ud835\udc5b\u2192\u221e"));
 limitElement.setUpperLimit(false);

Returns: boolean

setUpperLimit(boolean value)

public final void setUpperLimit(boolean value)

Specifies upper or lower limit


Example:
 
 MathLimit limitElement = new MathLimit(new MathematicalText("lim"), new MathematicalText("\ud835\udc5b\u2192\u221e"));
 limitElement.setUpperLimit(false);

Parameters:

ParameterTypeDescription
valueboolean

getChildren()

public final IMathElement[] getChildren()

Get children elements

Returns: com.aspose.slides.IMathElement[]

getControlCharacterProperties()

public final OmmlControlCharacterPPTXUnsupportedProps getControlCharacterProperties()

Control Character Properties

Returns: com.aspose.slides.OmmlControlCharacterPPTXUnsupportedProps