PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.6.2 Assembly / C1.C1Preview Namespace / TableVector Class / Ordinal Property

In This Topic
    Ordinal Property (TableVector)
    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 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