Gets the 0-based index of the current vector in the containing RenderTable (i.e. the row index for rows, the column index for columns).

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public int Ordinal { get; }
Visual Basic
Public ReadOnly Property Ordinal As Integer
	Get

Remarks

In C1PrintDocument tables, elements (cells, rows and columns) are physically created only if they contain data, or if their style differs from default. Hence the physical position of a TableVector object (i.e. a row or a column) in the containing TableVectorCollection (accessible via the vector's Owner property) is not the same as the logical index of that row or column in the table. The Ordinal property allows to retrieve that logical position.

See Also