PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.8 Assembly / C1.C1Preview Namespace / TableCol Class / Ordinal Property

In This Topic
    Ordinal Property (TableCol)
    In This Topic
    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).
    Syntax
    'Declaration
     
    Public ReadOnly Property Ordinal As Integer
    public int Ordinal {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 TableVector.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