public final class MathGroupingCharacter extends MathElementBase implements IMathGroupingCharacter
Specifies a grouping symbol above or below an expression, usually to highlight the relationship between elements
Example:MathGroupingCharacter groupingCharacter = new MathGroupingCharacter(new MathematicalText("abc"));
| Constructor and Description |
|---|
MathGroupingCharacter(IMathElement element)
Initializes a new instance of the MathGroupingCharacter class
with the default grouping character U+23DF (BOTTOM CURLY BRACKET)
|
MathGroupingCharacter(IMathElement element,
char character,
int position,
int verticalJustification)
Initializes a new instance of the MathGroupingCharacter class.
|
| Modifier and Type | Method and Description |
|---|---|
IMathElement |
getBase()
Base argument
|
char |
getCharacter()
Grouping Character
Default value: U+23DF (BOTTOM CURLY BRACKET)
|
IMathElement[] |
getChildren()
Get children elements
|
com.aspose.slides.OmmlControlCharacterPPTXUnsupportedProps |
getControlCharacterProperties()
Control Character Properties
|
int |
getPosition()
Position of grouping character.
|
int |
getVerticalJustification()
Vertical justification of group character.
|
void |
setCharacter(char value)
Grouping Character
Default value: U+23DF (BOTTOM CURLY BRACKET)
|
void |
setPosition(int value)
Position of grouping character.
|
void |
setVerticalJustification(int value)
Vertical justification of group character.
|
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 MathGroupingCharacter(IMathElement element)
Initializes a new instance of the MathGroupingCharacter class with the default grouping character U+23DF (BOTTOM CURLY BRACKET)
Example:MathGroupingCharacter groupingCharacter = new MathGroupingCharacter(new MathematicalText("abc"));
element - The base element to which the bar is appliedpublic MathGroupingCharacter(IMathElement element, char character, int position, int verticalJustification)
Initializes a new instance of the MathGroupingCharacter class.
Example:MathGroupingCharacter groupingCharacter = new MathGroupingCharacter(new MathematicalText("abc"), '_', MathTopBotPositions.Top, MathTopBotPositions.Bottom);
element - The base element to which the bar is appliedcharacter - Grouping Characterposition - Position of grouping characterverticalJustification - Vertical justification of group characterpublic final IMathElement getBase()
Base argument
Example:MathGroupingCharacter groupingCharacter = new MathGroupingCharacter(new MathematicalText("abc")); IMathElement baseArg = groupingCharacter.getBase();
getBase in interface IMathGroupingCharacterpublic final char getCharacter()
Grouping Character Default value: U+23DF (BOTTOM CURLY BRACKET)
Example:MathGroupingCharacter groupingCharacter = new MathGroupingCharacter(new MathematicalText("abc")); groupingCharacter.setCharacter('⏝'); // Bottom Parenthesis
getCharacter in interface IMathGroupingCharacterpublic final void setCharacter(char value)
Grouping Character Default value: U+23DF (BOTTOM CURLY BRACKET)
Example:MathGroupingCharacter groupingCharacter = new MathGroupingCharacter(new MathematicalText("abc")); groupingCharacter.setCharacter('⏝'); // Bottom Parenthesis
setCharacter in interface IMathGroupingCharacterpublic final int getPosition()
Position of grouping character. Default: Bottom
Example:MathGroupingCharacter groupingCharacter = new MathGroupingCharacter(new MathematicalText("abc")); groupingCharacter.setPosition(MathTopBotPositions.Top);
getPosition in interface IMathGroupingCharacterpublic final void setPosition(int value)
Position of grouping character. Default: Bottom
Example:MathGroupingCharacter groupingCharacter = new MathGroupingCharacter(new MathematicalText("abc")); groupingCharacter.setPosition(MathTopBotPositions.Top);
setPosition in interface IMathGroupingCharacterpublic final int getVerticalJustification()
Vertical justification of group character. Specifies the alignment of the object with respect to the baseline. For example, when the group character is above the object, VerticalJustification of Top signifies that the top of the object falls on the baseline; when VerticalJustification is set to Bottom, the bottom of the object is on the baseline Default: Bottom for Position=Top, and Top for Position=Bottom
Example:MathGroupingCharacter groupingCharacter = new MathGroupingCharacter(new MathematicalText("abc")); groupingCharacter.setVerticalJustification(MathTopBotPositions.Top);
getVerticalJustification in interface IMathGroupingCharacterpublic final void setVerticalJustification(int value)
Vertical justification of group character. Specifies the alignment of the object with respect to the baseline. For example, when the group character is above the object, VerticalJustification of Top signifies that the top of the object falls on the baseline; when VerticalJustification is set to Bottom, the bottom of the object is on the baseline Default: Bottom for Position=Top, and Top for Position=Bottom
Example:MathGroupingCharacter groupingCharacter = new MathGroupingCharacter(new MathematicalText("abc")); groupingCharacter.setVerticalJustification(MathTopBotPositions.Top);
setVerticalJustification in interface IMathGroupingCharacterpublic 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.