CGXRange::CGXRange
CGXRange();
CGXRange(const CGXRange& rRange);
CGXRange(const CGXRange* pRange);
CGXRange(ROWCOL nTop, ROWCOL nLeft, ROWCOL nBottom, ROWCOL nRight);
CGXRange(ROWCOL nRow, ROWCOL nCol);
rRange
A reference to the source range object.
pRange
A pointer to the source range object.
nTop
Specifies the top row of the range.
nLeft
Specifies the left column of the range.
nBottom
Specifies the bottom row of the range.
nRight
Specifies the right column of the range.
nRow
Specifies the top and bottom row of the range.
nCol
Specifies the left and right column of the range.
Remarks
Constructs a range object.
A range object can either be initialized as an empty range, initialized with another range, or specified by coordinates.
Example
These examples show some alternatives for creating a range object.
CGXRange range; // empty range
CGXRange range2(range); // assign another range to range2
CGXRange range(1,1,4,4); // range (1,1) to (4,4)
CGXRange range(1,4); // range (1,4) to (1,4)