[]
Creates a new XLColumn object and inserts it at a specific position in the collection.
public XLColumn Insert(int index)
Type | Name | Description |
---|---|---|
int | index | Position where the new item will be inserted. |
Type | Description |
---|---|
XLColumn | A reference to the new item. |
Inserts an XLColumn object at a specific position in the collection.
public XLColumn Insert(int index, XLColumn col)
Type | Name | Description |
---|---|---|
int | index | Position where the item will be inserted. |
XLColumn | col | Item that will be inserted. |
Type | Description |
---|---|
XLColumn | A reference to the item that was added to the collection. |
<p>The maximum number of <xref href="C1.Excel.XLColumn" data-throw-if-not-resolved="false"></xref> objects in an <xref href="C1.Excel.XLSheet" data-throw-if-not-resolved="false"></xref>
is 256. This is a limitation imposed by Excel 2003 and below.
For Excel 2007 and above, the maximum number of XLColumn objects in an XLSheet is 18,278.
Inserts an XLColumn object at a specific position in the collection.
public XLColumn Insert(int index, XLColumn col, XLCell[] cells)
Type | Name | Description |
---|---|---|
int | index | Position where the item will be inserted. |
XLColumn | col | Item that will be inserted. |
XLCell[] | cells | Array ot the cells for inserted column. |
Type | Description |
---|---|
XLColumn | A reference to the item that was added to the collection. |