CGXRange::SetCols
CGXRange& SetCols(ROWCOL nFrom, ROWCOL nTo);
CGXRange& SetCols(ROWCOL nCol);
nFrom
Specifies the left column of the range.
nTo
Specifies the right column 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 columns and specifies the left and right column.
Please note that row values (top and bottom) will be stored as 0. When you need row values greater than 0, you need to expand the range. See ExpandRange.
SetCols returns a reference to *this. This allows you to call SetCols within a function call to another method, as for example:
SetStyleRange(CGXRange().SetCols(1), style);
See Also
CGXRange::SetTable CGXRange::SetRows CGXRange::SetCells CGXRange::ExpandRange