Description |
---|
Excerpt |
---|
Inserts a block of columns in the worksheet to the left of the specified column, copying the style based on the |
Signature | ||||
---|---|---|---|---|
| ||||
public void InsertColumns(int columnNumber, int columnCount, ColumnInsertBehavior columnCellsCopyBehavior, ColumnInsertBehavior columnCopyBehavior) |
Signature | ||||
---|---|---|---|---|
| ||||
Public Sub InsertColumns(ByVal columnNumber As Integer, ByVal columnCount As Integer, ByVal columnCellsCopyBehavior As ColumnInsertBehavior, ByVal columnCopyBehavior As ColumnInsertBehavior) |
Parameters |
---|
Param | ||||
---|---|---|---|---|
| ||||
The 0-based number of the column to insert. |
Param | ||||
---|---|---|---|---|
| ||||
The number of columns to insert. |
Param | ||||
---|---|---|---|---|
| ||||
The Style.ColumnInsertBehavior that defines the source style for each cell in the new column. Each cell in the new column will be given the style of its neighbor identified in this parameter. |
Param | ||||
---|---|---|---|---|
| ||||
The Style.ColumnInsertBehavior that defines how the default column style will be set for the new column. This style is cells before the 'columnCellsCopyBehavior', so the 'columnCellsCopyBehavior' can be used to override the column-wide style. |
Example | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|