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: 11.0.0
public void SetColumnAutoStyle(
int columnIndex,
ExcelCellStyle columnStyle
)
Public Sub SetColumnAutoStyle (
columnIndex As Integer,
columnStyle As ExcelCellStyle
)
public:
void SetColumnAutoStyle(
int columnIndex,
ExcelCellStyle^ columnStyle
)
member SetColumnAutoStyle :
columnIndex : int *
columnStyle : ExcelCellStyle -> unit
Parameters
- columnIndex Int32
- The column index
- columnStyle ExcelCellStyle
- The column style