Skip to main content

TdxSpreadSheetTableView.Dimensions Property

Returns the range containing all cell objects within the current Table View worksheet.

Declaration

property Dimensions: TRect read;

Property Value

Type
TRect

Remarks

Use this property to identify the modified portion of the Table View worksheet (in cell column and row indexes), starting from its upper-left corner. The Dimensions property returns the TRect value whose Left and Top fields always specify the column and row indexes of the upper-left cell within the Table View worksheet. The Right and Bottom fields correspond to the valid cell objects with the largest column and row indexes, respectively:

Every time the new cell object is created outside the current Dimensions area, its bounds are expanded accordingly. If required, you can force the update of the Dimensions property value by creating a new cell object anywhere within the current Table View worksheet.

Note

Clearing both the style and contents of the cell with the largest column and row index values does not change the Dimensions property value. Only deletion of all cell objects in either the rightmost column and/or lowermost row objects can shrink the Dimensions area.

See Also