IMathArray

All Implemented Interfaces: com.aspose.slides.IMathElement

public interface IMathArray extends IMathElement

Specifies a vertical array of equations or any mathematical objects


Example:
 
 IMathArray mathArray = new MathArray(new MathematicalText("item1"));

Methods

MethodDescription
getArguments()The set of items of the array
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.
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.
getMaximumDistribution()Maximum Distribution When true, the array is spaced to the maximum width of the containing element(page, column, cell, etc.).
setMaximumDistribution(boolean value)Maximum Distribution When true, the array is spaced to the maximum width of the containing element(page, column, cell, etc.).
getObjectDistribution()Object Distribution When true, the contents of the array are spaced to the maximum width of the array object.
setObjectDistribution(boolean value)Object Distribution When true, the contents of the array are spaced to the maximum width of the array object.
getRowSpacingRule()The type of vertical spacing between array elements
setRowSpacingRule(int value)The type of vertical spacing between array elements
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.
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.

getArguments()

public abstract IMathElementCollection getArguments()

The set of items of the array


Example:
 
 IMathArray mathArray = new MathArray(new MathematicalText("item1"));
 mathArray.getArguments().add(new MathematicalText("item2"));

Returns: IMathElementCollection

getBaseJustification()

public abstract 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);

Returns: int

setBaseJustification(int value)

public abstract 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);

Parameters:

ParameterTypeDescription
valueint

getMaximumDistribution()

public abstract 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);

Returns: boolean

setMaximumDistribution(boolean value)

public abstract 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);

Parameters:

ParameterTypeDescription
valueboolean

getObjectDistribution()

public abstract 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);

Returns: boolean

setObjectDistribution(boolean value)

public abstract 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);

Parameters:

ParameterTypeDescription
valueboolean

getRowSpacingRule()

public abstract int getRowSpacingRule()

The type of vertical spacing between array elements


Example:
 
 IMathArray mathArray = new MathArray(new MathematicalText("item1"));
 mathArray.setRowSpacingRule(MathRowSpacingRule.OneAndAHalfLineGap);

Returns: int

setRowSpacingRule(int value)

public abstract void setRowSpacingRule(int value)

The type of vertical spacing between array elements


Example:
 
 IMathArray mathArray = new MathArray(new MathematicalText("item1"));
 mathArray.setRowSpacingRule(MathRowSpacingRule.OneAndAHalfLineGap);

Parameters:

ParameterTypeDescription
valueint

getRowSpacing()

public abstract 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);

Returns: long

setRowSpacing(long value)

public abstract 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);

Parameters:

ParameterTypeDescription
valuelong