CGXRange::SetRows
CGXRange& SetRows(ROWCOL nFrom, ROWCOL nTo);
CGXRange& SetRows(ROWCOL nRow);
nFrom
Specifies the top row of the range.
nTo
Specifies the bottom row of the range.
nRow
Specifies the top and bottom row of the range.
Return Value
Returns a reference to this object.
Remarks
Sets the range object to a range of rows and specifies the top and bottom rows.
Please note that column values (left and right) will be stored as 0. When you need column values greater than 0, you need to expand the range. See ExpandRange.
SetRows returns a reference to *this. This allows you to call SetRows within a function call to another method, as for example:
SetStyleRange(CGXRange().SetRows(1,3), style);
See Also
CGXRange::SetTable CGXRange::SetCols CGXRange::SetCells CGXRange::ExpandRange