Click or drag to resize

ExcelColumn Class

Excel column contains column options and a set of column cells.
Inheritance Hierarchy
SystemObject
  SautinSoft.ExcelExcelLineBase
    SautinSoft.ExcelExcelColumn

Namespace: SautinSoft.Excel
Assembly: SautinSoft.Excel (in SautinSoft.Excel.dll) Version: 2025.2.6
Syntax
public sealed class ExcelColumn : ExcelLineBase

The ExcelColumn type exposes the following members.

Properties
 NameDescription
Public propertyCollapsed Gets or sets whether object is collapsed in outlining.
(Inherited from ExcelLineBase)
Public propertyHidden Gets or sets whether excel object is hidden.
(Inherited from ExcelLineBase)
Public propertyIndex Gets the index.
(Inherited from ExcelLineBase)
Public propertyIsStyleDefault Returns true if style is "default"; otherwise, false.
(Inherited from ExcelLineBase)
Public propertyOutlineLevel Gets or sets outline level.
(Inherited from ExcelLineBase)
Public propertyStyle Gets or sets cell style (CellStyle) of contained cells.
(Inherited from ExcelLineBase)
Public propertyWidth Gets or sets column width.
Top
Methods
 NameDescription
Public methodAutoFit Automatically sets the column width so that all text in the cells of the column is visible.
Public methodDelete Deletes the current column from the worksheet.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInsertCopy Inserts the specified number of copies of the column before the current column.
Public methodInsertEmpty Inserts specified number of empty columns before the current column.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also