Winnovative Excel Library

ExcelWorksheetSetColumnAutoStyle Method

Winnovative Excel Library Documentation
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.

Namespace:  Winnovative.ExcelLib
Assembly:  wnvxls (in wnvxls.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax

public void SetColumnAutoStyle(
	int columnIndex,
	ExcelCellStyle columnStyle
)

Parameters

columnIndex
Type: SystemInt32
The column index
columnStyle
Type: Winnovative.ExcelLibExcelCellStyle
The column style
See Also

Reference