[]
        
(Showing Draft Content)

C1.Excel.XLColumn

XLColumn Class

Represents a column in a worksheet. This class provides properties for setting the column's width, style, and visibility.

Inheritance
XLColumn
Implements
Namespace: C1.Excel
Assembly: C1.Excel.dll
Syntax
public class XLColumn : ICloneable
Remarks

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.

Constructors

Name Description
XLColumn()

Creates a new instance of the XLColumn class.

Properties

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.

Methods

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.