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:
ExpertXls.ExcelLib
Assembly:
expertxls (in expertxls.dll) Version: 7.0.0
Syntax public void SetColumnAutoStyle(
int columnIndex,
ExcelCellStyle columnStyle
)
Public Sub SetColumnAutoStyle (
columnIndex As Integer,
columnStyle As ExcelCellStyle
)
Parameters
- columnIndex
- Type: SystemInt32
Column index. - columnStyle
- Type: ExpertXls.ExcelLibExcelCellStyle
Column style.
See Also