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.

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

Syntax

C#
public int Count { get; set; }
Visual Basic
Public Property Count As Integer
	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