DeleteCols Method
Applies To
fpSpread control
Description
Deletes the specified column or columns.
Syntax
C++
void CSpreadSheet::DeleteCols(long lCol, long lNumCols);
Visual Basic
fpSpread1.DeleteCols(ByVal lCol As Long, ByVal lNumCols As Long)
Parameters
The following parameters are available:
Parameter | Description |
---|---|
lCol | Column number of first column to delete |
lNumCols | Number of columns to delete |
Remarks
Deleting columns does not decrease the number of columns set by the MaxCols property. When you call the DeleteCols method to delete a column, a blank column is automatically added at the end of the sheet.
This method is called for the current sheet setting unless you first set the Sheet property to specify the sheet with which you want to work.
Return Type
None
See Also
DeleteRows method
DLL Correspondence
SSDelCol function