ExpertXls Excel Library for .NET
SetColumnAutoStyle Method (columnIndex, columnStyle)
Namespaces ► ExpertXls.ExcelLib ► ExcelWorksheet ► SetColumnAutoStyle(Int32, ExcelCellStyle)
ExpertXls Excel Library for .NET
Sets the auto style of a column. If this method is called before a cell in the specified column becomes part of the used range (a value is set in cell), the cell will automatically be assigned with the specified column style.
Declaration Syntax

C# | Visual Basic | Visual C++

    public void SetColumnAutoStyle(
    	int columnIndex,
    	ExcelCellStyle columnStyle
    )

    Public Sub SetColumnAutoStyle ( _
    	columnIndex As Integer, _
    	columnStyle As ExcelCellStyle _
    )

    public:
    void SetColumnAutoStyle(
    	int columnIndex,
    	ExcelCellStyle^ columnStyle
    )

Parameters

columnIndex (Int32)

  [Missing <param name="columnIndex"/> documentation for "M:ExpertXls.ExcelLib.ExcelWorksheet.SetColumnAutoStyle(System.Int32,ExpertXls.ExcelLib.ExcelCellStyle)"]

columnStyle (ExcelCellStyle)

  [Missing <param name="columnStyle"/> documentation for "M:ExpertXls.ExcelLib.ExcelWorksheet.SetColumnAutoStyle(System.Int32,ExpertXls.ExcelLib.ExcelCellStyle)"]

Assembly: ExpertXls.ExcelLib (Module: ExpertXls.ExcelLib) Version: 2.1.0.0 (2.1.0.0)