com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IMathArray

  • All Superinterfaces:
    IMathElement
    All Known Implementing Classes:
    MathArray


    public interface IMathArray
    extends IMathElement

    Specifies a vertical array of equations or any mathematical objects


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

      • getArguments

        IMathElementCollection getArguments()

        The set of items of the array


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

        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);
         
      • setBaseJustification

        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);
         
      • getMaximumDistribution

        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);
         
      • setMaximumDistribution

        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);
         
      • getObjectDistribution

        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);
         
      • setObjectDistribution

        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);
         
      • getRowSpacingRule

        int getRowSpacingRule()

        The type of vertical spacing between array elements


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

        void setRowSpacingRule(int value)

        The type of vertical spacing between array elements


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

        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);
         
      • setRowSpacing

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