MathLimit
Contents
[
Hide
]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
Constructor | Description |
---|---|
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
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
baseArg | IMathElement | |
limit | IMathElement | |
upperLimit | boolean |
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:
Parameter | Type | Description |
---|---|---|
baseArg | IMathElement | |
limit | IMathElement |
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:
Parameter | Type | Description |
---|---|---|
value | boolean |
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