[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.OMathMatrix

Class OMathMatrix

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

Represents a matrix Office Math structure, which consists of one or more elements laid out in one or more rows and one or more columns.

public class OMathMatrix : OMathStruct, IBrowsable<OMathStruct>
Inheritance
OMathMatrix
Implements
Inherited Members

Properties

ColumnGap

Gets or sets the horizontal gap between columns in the matrix.

The default value is 0.

public float ColumnGap { get; set; }

Property Value

float

ColumnGapRule

Gets or sets the type of horizontal gap between columns in the matrix.

Default value is Single.

public OMathSpacingRule ColumnGapRule { get; set; }

Property Value

OMathSpacingRule

ColumnMinWidth

Gets or sets the minimum column width of a matrix.

The actual column width of a matrix will be the greater of either the width of the columns widest argument or the value of this property.

Allowed values are from 0 to 1584, inclusive.

Default value is 0.

public float ColumnMinWidth { get; set; }

Property Value

float

Columns

Gets the OMathMatrixColumnCollection containing the child columns of the matrix.

public OMathMatrixColumnCollection Columns { get; }

Property Value

OMathMatrixColumnCollection

HidePlaceholder

Gets or sets whether to hide visual representations for placeholders.

Default value is false.

public bool HidePlaceholder { get; set; }

Property Value

bool

RowSpacing

Gets or sets the vertical spacing between rows in the matrix.

The default value is 0.

public float RowSpacing { get; set; }

Property Value

float

RowSpacingRule

Gets or sets the type of vertical spacing between rows in the matrix.

Default value is Single.

public OMathSpacingRule RowSpacingRule { get; set; }

Property Value

OMathSpacingRule

Rows

Gets the OMathMatrixRowCollection containing the child rows of the matrix.

public OMathMatrixRowCollection Rows { get; }

Property Value

OMathMatrixRowCollection

StructType

Gets the OMathStructType of the structure.

public override OMathStructType StructType { get; }

Property Value

OMathStructType

VerticalAlignment

Gets or sets the vertical justification of the matrix.

Default value is Center.

public OMathVerticalAlignment VerticalAlignment { get; set; }

Property Value

OMathVerticalAlignment

Methods

Cell(int, int)

Gets the OMathElement representing a child cell in the matrix.

public OMathElement Cell(int rowIndex, int columnIndex)

Parameters

rowIndex int

Zero-based matrix row index of the cell.

columnIndex int

Zero-based matrix column index of the cell.

Returns

OMathElement

The OMathElement that represent a child cell in the matrix.