public final class MathNaryOperator extends MathElementBase implements IMathNaryOperator
Specifies an N-ary mathematical object, such as Summation and Integral. It consists of an operator, a base (or operand), and optional upper and lower limits. Examples of N-ary operators are: Summation, Union, Intersection, Integral
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100");
| Constructor and Description |
|---|
MathNaryOperator(char operatorSymbol,
IMathElement baseArgument)
Initializes a new instance of the MathNaryOperator class.
|
MathNaryOperator(char operatorSymbol,
IMathElement baseArgument,
IMathElement lowerLimit)
Initializes a new instance of the MathNaryOperator class.
|
MathNaryOperator(char operatorSymbol,
IMathElement baseArgument,
IMathElement lowerLimit,
IMathElement upperLimit)
Initializes a new instance of the MathNaryOperator class.
|
| Modifier and Type | Method and Description |
|---|---|
IMathElement |
getBase()
Base argument
|
IMathElement[] |
getChildren()
Get children elements
|
com.aspose.slides.OmmlControlCharacterPPTXUnsupportedProps |
getControlCharacterProperties()
Control Character Properties
|
boolean |
getGrowToMatchOperandHeight()
Operator Character grows vertically to match its operand height
|
boolean |
getHideSubscript()
Hide Subscript
|
boolean |
getHideSuperscript()
Hide Superscript
|
int |
getLimitLocation()
The location of limits (subscript and superscript)
|
char |
getOperator()
Nary Operator Character
For example: '∑', '∫'
|
IMathElement |
getSubscript()
Specifies a subscript argument that, for example, in the case of an integral, sets the lower limit
|
IMathElement |
getSuperscript()
Specifies a supersript argument that, for example, in the case of an integral, sets the upper limit
|
void |
setGrowToMatchOperandHeight(boolean value)
Operator Character grows vertically to match its operand height
|
void |
setHideSubscript(boolean value)
Hide Subscript
|
void |
setHideSuperscript(boolean value)
Hide Superscript
|
void |
setLimitLocation(int value)
The location of limits (subscript and superscript)
|
void |
setOperator(char value)
Nary Operator Character
For example: '∑', '∫'
|
accent, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, divide, divide, divide, divide, enclose, enclose, function, function, getParent_Immediate, group, group, integral, integral, integral, integral, integral, join, join, nary, nary, overbar, radical, radical, setLowerLimit, setLowerLimit, setSubscript, setSubscript, setSubSuperscriptOnTheLeft, setSubSuperscriptOnTheLeft, setSubSuperscriptOnTheRight, setSubSuperscriptOnTheRight, setSuperscript, setSuperscript, setUpperLimit, setUpperLimit, toBorderBox, toBorderBox, toBox, toMathArray, underbarequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccent, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, divide, divide, divide, divide, enclose, enclose, function, function, group, group, integral, integral, integral, integral, integral, join, join, nary, nary, overbar, radical, radical, setLowerLimit, setLowerLimit, setSubscript, setSubscript, setSubSuperscriptOnTheLeft, setSubSuperscriptOnTheLeft, setSubSuperscriptOnTheRight, setSubSuperscriptOnTheRight, setSuperscript, setSuperscript, setUpperLimit, setUpperLimit, toBorderBox, toBorderBox, toBox, toMathArray, underbarpublic MathNaryOperator(char operatorSymbol,
IMathElement baseArgument,
IMathElement lowerLimit,
IMathElement upperLimit)
Initializes a new instance of the MathNaryOperator class.
Example:IMathNaryOperator naryOperator = new MathNaryOperator('∑', new MathematicalText("i"), new MathematicalText("i=0"), new MathematicalText("𝑛"));
operatorSymbol - Nary operator symbolbaseArgument - Base argumentlowerLimit - Lower limitupperLimit - Upper limitpublic MathNaryOperator(char operatorSymbol,
IMathElement baseArgument,
IMathElement lowerLimit)
Initializes a new instance of the MathNaryOperator class.
Example:IMathNaryOperator naryOperator = new MathNaryOperator('∑', new MathematicalText("i"), new MathematicalText("i"));
operatorSymbol - Nary operator symbolbaseArgument - Base argumentlowerLimit - Lower limitpublic MathNaryOperator(char operatorSymbol,
IMathElement baseArgument)
Initializes a new instance of the MathNaryOperator class.
Example:IMathNaryOperator naryOperator = new MathNaryOperator('∑', new MathematicalText("i"));
operatorSymbol - Nary operator symbolbaseArgument - Base argumentpublic final IMathElement getBase()
Base argument
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100"); IMathElement baseArg = naryOperator.getBase();
getBase in interface IMathNaryOperatorpublic final IMathElement getSubscript()
Specifies a subscript argument that, for example, in the case of an integral, sets the lower limit
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100"); IMathElement subscriptArg = naryOperator.getSubscript();
getSubscript in interface IMathNaryOperatorpublic final IMathElement getSuperscript()
Specifies a supersript argument that, for example, in the case of an integral, sets the upper limit
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100"); IMathElement superscriptArg = naryOperator.getSuperscript();
getSuperscript in interface IMathNaryOperatorpublic final char getOperator()
Nary Operator Character For example: '∑', '∫'
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100"); char operatorSymbol = naryOperator.getOperator();
getOperator in interface IMathNaryOperatorPropertiespublic final void setOperator(char value)
Nary Operator Character For example: '∑', '∫'
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100"); char operatorSymbol = naryOperator.getOperator();
setOperator in interface IMathNaryOperatorPropertiespublic final int getLimitLocation()
The location of limits (subscript and superscript)
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100"); naryOperator.setLimitLocation(MathLimitLocations.SubscriptSuperscript);
getLimitLocation in interface IMathNaryOperatorPropertiespublic final void setLimitLocation(int value)
The location of limits (subscript and superscript)
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100"); naryOperator.setLimitLocation(MathLimitLocations.SubscriptSuperscript);
setLimitLocation in interface IMathNaryOperatorPropertiespublic final boolean getGrowToMatchOperandHeight()
Operator Character grows vertically to match its operand height
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100"); naryOperator.setGrowToMatchOperandHeight(true);
getGrowToMatchOperandHeight in interface IMathNaryOperatorPropertiespublic final void setGrowToMatchOperandHeight(boolean value)
Operator Character grows vertically to match its operand height
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100"); naryOperator.setGrowToMatchOperandHeight(true);
setGrowToMatchOperandHeight in interface IMathNaryOperatorPropertiespublic final boolean getHideSubscript()
Hide Subscript
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100"); naryOperator.setHideSubscript(true);
getHideSubscript in interface IMathNaryOperatorPropertiespublic final void setHideSubscript(boolean value)
Hide Subscript
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100"); naryOperator.setHideSubscript(true);
setHideSubscript in interface IMathNaryOperatorPropertiespublic final boolean getHideSuperscript()
Hide Superscript
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100"); naryOperator.setHideSuperscript(true);
getHideSuperscript in interface IMathNaryOperatorPropertiespublic final void setHideSuperscript(boolean value)
Hide Superscript
Example:IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100"); naryOperator.setHideSuperscript(true);
setHideSuperscript in interface IMathNaryOperatorPropertiespublic final IMathElement[] getChildren()
Get children elements
getChildren in interface IMathElementgetChildren in class MathElementBaseIMathElementpublic final com.aspose.slides.OmmlControlCharacterPPTXUnsupportedProps getControlCharacterProperties()
Control Character Properties
Copyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.