ExcelWorksheetSetColumnAutoStyle Method

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.

Definition

Namespace: Winnovative.ExcelLib
Assembly: WnvXls_NetCore (in WnvXls_NetCore.dll) Version: 11.0.0
C#
public void SetColumnAutoStyle(
	int columnIndex,
	ExcelCellStyle columnStyle
)

Parameters

columnIndex  Int32
The column index
columnStyle  ExcelCellStyle
The column style

See Also