ComponentOne ReportViewer for ASP.NET Web Forms
C1.C1Report.4 Assembly / C1.C1Preview Namespace / TableVector Class / Ordinal Property

In This Topic
    Ordinal Property
    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 System.Integer
    public System.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