MathMatrix Class

Specifies the Matrix object, consisting of child elements laid out in one or more rows and columns. It is important to note that matrices do not have built in delimiters. To place the matrix in the brackets you should use the delimiter object (IMathDelimiter). Null arguments can be used to create gaps in matrices.
Inheritance Hierarchy
SystemObject
  Aspose.Slides.MathTextMathElementBase
    Aspose.Slides.MathTextMathMatrix

Namespace:  Aspose.Slides.MathText
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.11.0.0 (20.11)
Syntax
public sealed class MathMatrix : MathElementBase, 
	IMathMatrix, IMathElement

The MathMatrix type exposes the following members.

Constructors
  NameDescription
Public methodCode exampleMathMatrix
Initializes a new instance of the MathMatrix class.
Properties
  NameDescription
Public propertyCode exampleBaseJustification
Specifies the vertical justification respect to surrounding text. Possible values are top, bottom, and center. Default: Center
Public propertyCode exampleColumnCount
Number of columns in the matrix
Public propertyCode exampleColumnGap
The value of horizontal spacing between columns of a matrix; If the ColumnGapRule is set to 3 ("Exactly"), then the unit is interpreted as twips (1/20th of a point) If the ColumnGapRule is set to 4 ("Multiple"), then the unit is interpreted as number of 0.5 em increments. In other cases ignored. Default: 0
Public propertyCode exampleColumnGapRule
The type of horizontal spacing between columns of a matrix; Horizontal spacing units can be ems or points (stored as twips). Default: SingleSpacingGap (0)
Public propertyCode exampleHidePlaceholders
Hide the placeholders for empty matrix elements Default: false
Public propertyCode exampleItem
Element of matrix
Public propertyCode exampleMinColumnWidth
Minimum column width in twips (1/20th of a point) The gap spacing (also referred to as “Column Gap” or “Gap Width”) is added to the MinColumnWidth to determine the total Matrix Column Spacing (distance between the same edges of different columns). Default: 0.
Public propertyCode exampleRowCount
Number of rows in the matrix
Public propertyCode exampleRowGap
The value of vertical spacing between rows of a matrix; If the RowGapRule is set to 3 ("Exactly"), then the unit is interpreted as twips (1/20th of a point) If the RowGapRule is set to 4 ("Multiple"), then the unit is interpreted as half-lines. Default: 0
Public propertyCode exampleRowGapRule
The type of vertical spacing between rows of a matrix; Vertical spacing units can be lines or points (stored as twips). Default: SingleSpacingGap (0)
Methods
  NameDescription
Public methodCode exampleAccent
Sets an accent mark (a character on the top of this element)
(Inherited from MathElementBase.)
Public methodCode exampleAsArgumentOfFunction(String)
Takes specified function using this instance as the argument
(Inherited from MathElementBase.)
Public methodCode exampleAsArgumentOfFunction(IMathElement)
Takes specified function using this instance as the argument
(Inherited from MathElementBase.)
Public methodCode exampleAsArgumentOfFunction(MathFunctionsOfOneArgument)
Takes specified function using this instance as the argument
(Inherited from MathElementBase.)
Public methodCode exampleAsArgumentOfFunction(MathFunctionsOfTwoArguments, IMathElement)
Takes specified function using this instance as the argument and specified additional argument
(Inherited from MathElementBase.)
Public methodCode exampleAsArgumentOfFunction(MathFunctionsOfTwoArguments, String)
Takes specified function using this instance as the argument and specified additional argument
(Inherited from MathElementBase.)
Public methodCode exampleDeleteColumn
Deletes the specified column
Public methodCode exampleDeleteRow
Deletes the specified row
Public methodCode exampleDivide(String)
Creates a fraction with this numerator and specified denominator
(Inherited from MathElementBase.)
Public methodCode exampleDivide(IMathElement)
Creates a fraction with this numerator and specified denominator
(Inherited from MathElementBase.)
Public methodCode exampleDivide(String, MathFractionTypes)
Creates a fraction of the specified type with this numerator and specified denominator
(Inherited from MathElementBase.)
Public methodCode exampleDivide(IMathElement, MathFractionTypes)
Creates a fraction of the specified type with this numerator and specified denominator
(Inherited from MathElementBase.)
Public methodCode exampleEnclose
Encloses a math element in parenthesis
(Inherited from MathElementBase.)
Public methodCode exampleEnclose(Char, Char)
Encloses a math element in specified characters such as parenthesis or another characters as framing
(Inherited from MathElementBase.)
Public methodEquals (Inherited from Object.)
Public methodCode exampleFunction(String)
Takes a function of an argument using this instance as the function name
(Inherited from MathElementBase.)
Public methodCode exampleFunction(IMathElement)
Takes a function of an argument using this instance as the function name
(Inherited from MathElementBase.)
Public methodCode exampleGetColumnAlignment
Get the horizontal alignment of the specified column
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodCode exampleGroup
Places this element in a group using a bottom curly bracket
(Inherited from MathElementBase.)
Public methodCode exampleGroup(Char, MathTopBotPositions, MathTopBotPositions)
Places this element in a group using a grouping character such as bottom curly bracket or another
(Inherited from MathElementBase.)
Public methodCode exampleInsertColumnAfter
Insert a new column after the specified one Initially all elements in the new column are null.
Public methodCode exampleInsertColumnBefore
Insert a new column before the specified one Initially all elements in the new column are null.
Public methodCode exampleInsertRowAfter
Insert a new row after the specified one Initially all elements in the new row are null.
Public methodCode exampleInsertRowBefore
Insert a new row before the specified one Initially all elements in the new row are null.
Public methodCode exampleIntegral(MathIntegralTypes)
Takes the integral without limits
(Inherited from MathElementBase.)
Public methodCode exampleIntegral(MathIntegralTypes, IMathElement, IMathElement)
Takes the integral
(Inherited from MathElementBase.)
Public methodCode exampleIntegral(MathIntegralTypes, String, String)
Takes the integral
(Inherited from MathElementBase.)
Public methodCode exampleIntegral(MathIntegralTypes, IMathElement, IMathElement, MathLimitLocations)
Takes the integral
(Inherited from MathElementBase.)
Public methodCode exampleIntegral(MathIntegralTypes, String, String, MathLimitLocations)
Takes the integral
(Inherited from MathElementBase.)
Public methodCode exampleJoin(String)
Joins a mathematical text and forms a mathematical block
(Inherited from MathElementBase.)
Public methodCode exampleJoin(IMathElement)
Joins a mathematical element and forms a mathematical block
(Inherited from MathElementBase.)
Public methodCode exampleNary(MathNaryOperatorTypes, IMathElement, IMathElement)
Creates a N-ary operator
(Inherited from MathElementBase.)
Public methodCode exampleNary(MathNaryOperatorTypes, String, String)
Creates a N-ary operator
(Inherited from MathElementBase.)
Public methodCode exampleOverbar
Sets a bar on the top of this element
(Inherited from MathElementBase.)
Public methodCode exampleRadical(String)
Specifies the mathematical root of the given degree from the specified argument.
(Inherited from MathElementBase.)
Public methodCode exampleRadical(IMathElement)
Specifies the mathematical root of the given degree from the specified argument.
(Inherited from MathElementBase.)
Public methodCode exampleSetColumnAlignment
Set the horizontal alignment of the specified column
Public methodCode exampleSetColumnsAlignment
Set the horizontal alignment of the specified columns
Public methodCode exampleSetLowerLimit(String)
Takes lower limit
(Inherited from MathElementBase.)
Public methodCode exampleSetLowerLimit(IMathElement)
Takes lower limit
(Inherited from MathElementBase.)
Public methodCode exampleSetSubscript(String)
Creates subscript
(Inherited from MathElementBase.)
Public methodCode exampleSetSubscript(IMathElement)
Creates subscript
(Inherited from MathElementBase.)
Public methodCode exampleSetSubSuperscriptOnTheLeft(String, String)
Creates subscript and superscript on the left
(Inherited from MathElementBase.)
Public methodCode exampleSetSubSuperscriptOnTheLeft(IMathElement, IMathElement)
Creates subscript and superscript on the left
(Inherited from MathElementBase.)
Public methodCode exampleSetSubSuperscriptOnTheRight(String, String)
Creates subscript and superscript on the right
(Inherited from MathElementBase.)
Public methodCode exampleSetSubSuperscriptOnTheRight(IMathElement, IMathElement)
Creates subscript and superscript on the right
(Inherited from MathElementBase.)
Public methodCode exampleSetSuperscript(String)
Creates superscript
(Inherited from MathElementBase.)
Public methodCode exampleSetSuperscript(IMathElement)
Creates superscript
(Inherited from MathElementBase.)
Public methodCode exampleSetUpperLimit(String)
Takes upper limit
(Inherited from MathElementBase.)
Public methodCode exampleSetUpperLimit(IMathElement)
Takes upper limit
(Inherited from MathElementBase.)
Public methodCode exampleToBorderBox
Places this element in a border-box
(Inherited from MathElementBase.)
Public methodCode exampleToBorderBox(Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean)
Places this element in a border-box
(Inherited from MathElementBase.)
Public methodCode exampleToBox
Places this element in a non-visual box (logical grouping) which is used to group components of an equation or other instance of mathematical text. A boxed object can (for example) serve as an operator emulator with or without an alignment point, serve as a line break point, or be grouped such as not to allow line breaks within.
(Inherited from MathElementBase.)
Public methodCode exampleToMathArray
Puts in a vertical array
(Inherited from MathElementBase.)
Public methodToString (Inherited from Object.)
Public methodCode exampleUnderbar
Sets a bar on the bottom of this element
(Inherited from MathElementBase.)
Examples
Example:
[C#]
IMathMatrix matrix = new MathMatrix(2, 3);
matrix[0, 0] = new MathematicalText("item.1.1");
See Also