public final class MathArray extends MathElementBase implements IMathArray
Specifies a vertical array of equations or any mathematical objects
Example:MathArray mathArray = new MathArray(new MathematicalText("item1"));
Constructor and Description |
---|
MathArray(com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IMathElement> elements)
Creates a mathematical array and places specified elements in it
|
MathArray(IMathElement element)
Creates a mathematical array and places the specified element in it
|
Modifier and Type | Method and Description |
---|---|
IMathElementCollection |
getArguments()
The set of items of the array
|
int |
getBaseJustification()
Specifies alignment of the array relative to surrounding text
Text outside of the array can be aligned with the bottom, top, or center of a array object.
|
boolean |
getMaximumDistribution()
Maximum Distribution
When true, the array is spaced to the maximum width of the containing element(page, column, cell, etc.).
|
boolean |
getObjectDistribution()
Object Distribution
When true, the contents of the array are spaced to the maximum width of the array object.
|
long |
getRowSpacing()
Spacing between rows of an array
It is used only when RowSpacingRule is set to 3 Exactly in which case the unit of measure is points
or Multiple in which case the unit of measure is half-lines.
|
int |
getRowSpacingRule()
The type of vertical spacing between array elements
Default: SingleLineGap
|
void |
setBaseJustification(int value)
Specifies alignment of the array relative to surrounding text
Text outside of the array can be aligned with the bottom, top, or center of a array object.
|
void |
setMaximumDistribution(boolean value)
Maximum Distribution
When true, the array is spaced to the maximum width of the containing element(page, column, cell, etc.).
|
void |
setObjectDistribution(boolean value)
Object Distribution
When true, the contents of the array are spaced to the maximum width of the array object.
|
void |
setRowSpacing(long value)
Spacing between rows of an array
It is used only when RowSpacingRule is set to 3 Exactly in which case the unit of measure is points
or Multiple in which case the unit of measure is half-lines.
|
void |
setRowSpacingRule(int value)
The type of vertical spacing between array elements
Default: SingleLineGap
|
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, underbar
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accent, 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, underbar
public MathArray(IMathElement element)
Creates a mathematical array and places the specified element in it
Example:MathArray mathArray = new MathArray(new MathematicalText("item1"));
element
- The element to place in the arraypublic MathArray(com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IMathElement> elements)
Creates a mathematical array and places specified elements in it
elements
- Elements to place in the arraypublic final IMathElementCollection getArguments()
The set of items of the array
Example:IMathArray mathArray = new MathArray(new MathematicalText("item1")); mathArray.getArguments().add(new MathematicalText("item2"));
getArguments
in interface IMathArray
public final int getBaseJustification()
Specifies alignment of the array relative to surrounding text Text outside of the array can be aligned with the bottom, top, or center of a array object. Default value: Center
Example:IMathArray mathArray = new MathArray(new MathematicalText("item1")); mathArray.setBaseJustification(MathVerticalAlignment.Top);
getBaseJustification
in interface IMathArray
public final void setBaseJustification(int value)
Specifies alignment of the array relative to surrounding text Text outside of the array can be aligned with the bottom, top, or center of a array object. Default value: Center
Example:IMathArray mathArray = new MathArray(new MathematicalText("item1")); mathArray.setBaseJustification(MathVerticalAlignment.Top);
setBaseJustification
in interface IMathArray
public final boolean getMaximumDistribution()
Maximum Distribution When true, the array is spaced to the maximum width of the containing element(page, column, cell, etc.).
Example:IMathArray mathArray = new MathArray(new MathematicalText("item1")); mathArray.setMaximumDistribution(true);
getMaximumDistribution
in interface IMathArray
public final void setMaximumDistribution(boolean value)
Maximum Distribution When true, the array is spaced to the maximum width of the containing element(page, column, cell, etc.).
Example:IMathArray mathArray = new MathArray(new MathematicalText("item1")); mathArray.setMaximumDistribution(true);
setMaximumDistribution
in interface IMathArray
public final boolean getObjectDistribution()
Object Distribution When true, the contents of the array are spaced to the maximum width of the array object.
Example:IMathArray mathArray = new MathArray(new MathematicalText("item1")); mathArray.setObjectDistribution(true);
getObjectDistribution
in interface IMathArray
public final void setObjectDistribution(boolean value)
Object Distribution When true, the contents of the array are spaced to the maximum width of the array object.
Example:IMathArray mathArray = new MathArray(new MathematicalText("item1")); mathArray.setObjectDistribution(true);
setObjectDistribution
in interface IMathArray
public final int getRowSpacingRule()
The type of vertical spacing between array elements Default: SingleLineGap
Example:IMathArray mathArray = new MathArray(new MathematicalText("item1")); mathArray.setRowSpacingRule(MathRowSpacingRule.OneAndAHalfLineGap);
getRowSpacingRule
in interface IMathArray
public final void setRowSpacingRule(int value)
The type of vertical spacing between array elements Default: SingleLineGap
Example:IMathArray mathArray = new MathArray(new MathematicalText("item1")); mathArray.setRowSpacingRule(MathRowSpacingRule.OneAndAHalfLineGap);
setRowSpacingRule
in interface IMathArray
public final long getRowSpacing()
Spacing between rows of an array It is used only when RowSpacingRule is set to 3 Exactly in which case the unit of measure is points or Multiple in which case the unit of measure is half-lines. Default: 0
Example:IMathArray mathArray = new MathArray(new MathematicalText("item1")); mathArray.setRowSpacingRule(MathRowSpacingRule.Exactly); mathArray.setRowSpacing(10);
getRowSpacing
in interface IMathArray
public final void setRowSpacing(long value)
Spacing between rows of an array It is used only when RowSpacingRule is set to 3 Exactly in which case the unit of measure is points or Multiple in which case the unit of measure is half-lines. Default: 0
Example:IMathArray mathArray = new MathArray(new MathematicalText("item1")); mathArray.setRowSpacingRule(MathRowSpacingRule.Exactly); mathArray.setRowSpacing(10);
setRowSpacing
in interface IMathArray