public final class MathSuperscriptElement extends BaseScript implements IMathSuperscriptElement
Specifies the superscript object, which consists of a base and a reduced-size superscript placed above and to the right
Example:IMathSuperscriptElement superscriptElement = new MathematicalText("N").setSuperscript("i");
| Constructor and Description |
|---|
MathSuperscriptElement(IMathElement baseArg,
IMathElement superScript)
Initializes a new instance of the MathSuperscriptElement class.
|
| Modifier and Type | Method and Description |
|---|---|
IMathElement[] |
getChildren()
Get children elements
|
IMathElement |
getSuperscript()
Superscript
|
getBase, getControlCharacterPropertiesaccent, 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, waitgetBaseaccent, 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 MathSuperscriptElement(IMathElement baseArg, IMathElement superScript)
Initializes a new instance of the MathSuperscriptElement class.
Example:IMathElement baseElement = new MathematicalText("X"); IMathElement superscript = new MathematicalText("i"); MathSuperscriptElement superscriptElement = new MathSuperscriptElement(baseElement, superscript);
public final IMathElement getSuperscript()
Superscript
Example:IMathElement baseElement = new MathematicalText("X"); IMathElement superscript = new MathematicalText("i"); MathSuperscriptElement superscriptElement = new MathSuperscriptElement(baseElement, superscript); IMathElement super = superscriptElement.getSuperscript();
getSuperscript in interface IMathSuperscriptElementpublic final IMathElement[] getChildren()
Get children elements
getChildren in interface IMathElementgetChildren in class MathElementBaseIMathElementCopyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.