[]
Represents a column in a worksheet. This class provides properties for setting the column's width, style, and visibility.
public class XLColumn : ICloneable
The XLColumn objects do not contain any data. If you remove a column from the collection, the data will be lost. If you later re-insert that same column back into the collection, the column will be blank.
| Name | Description |
|---|---|
| XLColumn() | Creates a new instance of the XLColumn class. |
| Name | Description |
|---|---|
| Book | Gets a reference to the parent C1XLBook object. |
| Collapsed | Gets or sets collapsed flag for the column. |
| IsSubtotal | Gets whether the column is subtotal. |
| OutlineLevel | Gets or sets subtotal outline level for the column. |
| PageBreak | Gets or sets whether there will be a forced page break after this column. |
| Sheet | Gets a reference to the parent XLSheet object. |
| Style | Gets or sets the XLStyle object that determines the appearance of the column. |
| Visible | Gets or sets whether the column is visible. |
| Width | Gets or sets the width of the column, in twips. |
| Name | Description |
|---|---|
| Clone() | Creates a new XLColumn object that is a copy of the current instance. |
| Clone(out XLCell[]) | Creates a new XLColumn object that is a copy of the current instance. |