CGXRange::SetCells
CGXRange& SetCells(ROWCOL nTop, ROWCOL nLeft, ROWCOL nBottom, ROWCOL nRight);
CGXRange& SetCells(ROWCOL nRow, ROWCOL nCol);
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.
Return Value
Returns a reference to this object.
Remarks
Sets the range object to a range of cells and specifies the top, left, bottom and right values.
SetCells returns a reference to *this. This allows you to call SetCells within a function call to another method, as for example:
SetStyleRange(CGXRange().SetCells(1,1,4,4), style);
See Also
CGXRange::SetTable CGXRange::SetCols CGXRange::SetRows