class CGXRange
CGXRange objects define a rectangular range of cells in the grid. A range is specified through a top and bottom row and a left and right column. Ranges can represent a selection of cells, columns, rows or all cells in the table.
CGXRange objects are often passed to methods in the grid to specify the cells which are affected by an operation, as for example
SetStyleRange(CGXRange(1,1,4,4), style);
which will change the formatting for the cells (1,1) to (4,4).
CGXRange objects are also often stored in a list of ranges, the CGXRangeList. For example, ranges of cells selected by the user are stored in a CGXRangeList.
#include <gxall.h>
See Also
CGXRangeList CGXGridParam::GetRangeList