PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / TableVectorCollection Class / Count Property

In This Topic
    Count Property (TableVectorCollection)
    In This Topic
    Gets or sets the logical count of vectors (rows or columns) in the current collection. Setting this property to -1 (which is the default) ensures that Count is calculated automatically.
    Syntax
    'Declaration
     
    Public Property Count As Integer
    public int Count {get; set;}
    Remarks
    C1PrintDocument tables are logically infinite. Simply accessing an element at any position expands the table to include that position. Hence by default the Count property returns the maximum row or column number that has been accessed so far. Assigning a non-negative value to this property allows to increase or decrease the number of rows or columns (if the number of vectors is decreased, elements with greater indices are cleared).
    See Also