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.
Namespace: Winnovative.ExcelLibAssembly: WnvXls_NetCore (in WnvXls_NetCore.dll) Version: 14.0.0
public void SetColumnAutoStyle(
int columnIndex,
ExcelCellStyle columnStyle
)
Parameters
- columnIndex Int32
- The column index
- columnStyle ExcelCellStyle
- The column style