Description
ExcelColumn contains the properties of a single column and column cells.

Namespace: Docs.Excel
Assembly: Excel (in Excel.dll) Version: 3.1.0.0 (3.1)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class ExcelColumn
Public Class ExcelColumn
public ref class ExcelColumn

Members

         
 All Members  Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
Autofit()()()()
Automatically fits column width to the minimum size required for all data in the column to be visible.
Cells
Gets cell range (ExcelCellRange) of the ExcelColumn.
ColumNameToIndex(String)
Converts ExcelColumn name ("A", "B", ...) to ExcelColumn index (0, 1, ...).
ColumnIndexToName(Int32)
Converts ExcelColumn index (1, 2, 3, ...) to ExcelColumn name ("A", "B", "C", ...).
Hidden
Gets or sets whether the column is hidden.
Index
Gets the zero-base index of ExcelColumn.
Style
Gets a style of this ExcelColumn.
Width
Gets or sets ExcelColumn Width(pixels).

Inheritance Hierarchy

System..::..Object
  Docs.Excel..::..ExcelColumn

See Also