A Sandcastle Documented Class Library
DeleteColumns Method (index, numberOfColumns, cascade)
Namespaces ► Yogesh.ExcelXml ► Worksheet ► DeleteColumns(Int32, Int32, Boolean)
Completely removes a specified a number of columns from a given index

C# | Visual Basic | Visual C++ |
public void DeleteColumns( int index, int numberOfColumns, bool cascade )
Public Sub DeleteColumns ( _ index As Integer, _ numberOfColumns As Integer, _ cascade As Boolean _ )
public: void DeleteColumns( int index, int numberOfColumns, bool cascade )

- index (Int32)
- Index of column to delete columns from
- numberOfColumns (Int32)
- Number of columns to delete
- cascade (Boolean)
- if true, the columns are removed and columns to the right are cascaded leftwards. if false, the columns are only emptied