public final class MathBar extends MathElementBase implements IMathBar
Specifies the bar function, consisting of a base argument and an overbar or underbar
Example:MathBar mathBar = new MathBar(new MathematicalText("x"));
| Constructor and Description |
|---|
MathBar(IMathElement element)
Initializes MathBar with overbar (Top position)
|
MathBar(IMathElement element,
int position)
Initializes MathBar with specified position
|
| Modifier and Type | Method and Description |
|---|---|
IMathElement |
getBase()
Base argument
|
IMathElement[] |
getChildren()
Get children elements
|
com.aspose.slides.OmmlControlCharacterPPTXUnsupportedProps |
getControlCharacterProperties()
Control Character Properties
|
int |
getPosition()
Position of the bar line.
|
void |
setPosition(int value)
Position of the bar line.
|
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 MathBar(IMathElement element)
Initializes MathBar with overbar (Top position)
Example:MathBar mathBar = new MathBar(new MathematicalText("x"));
element - The base element to which the bar is appliedpublic MathBar(IMathElement element, int position)
Initializes MathBar with specified position
Example:MathBar mathBar = new MathBar(new MathematicalText("x"), MathTopBotPositions.Bottom);
element - The base element to which the bar is appliedposition - Position of the bar line.public final IMathElement getBase()
Base argument
Example:MathBar mathBar = new MathBar(new MathematicalText("x")); IMathElement base = mathBar.getBase();
public final int getPosition()
Position of the bar line. Default: Top
Example:MathBar mathBar = new MathBar(new MathematicalText("x")); mathBar.setPosition(MathTopBotPositions.Bottom);
getPosition in interface IMathBarpublic final void setPosition(int value)
Position of the bar line. Default: Top
Example:MathBar mathBar = new MathBar(new MathematicalText("x")); mathBar.setPosition(MathTopBotPositions.Bottom);
setPosition in interface IMathBarpublic 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.