Click or drag to resize

XlsWorksheet GetColumnIsAutoFit Method

Get ColumnIsAutofit By columnIndex

Namespace: Spire.Xls.Core.Spreadsheet
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public bool GetColumnIsAutoFit(
	int columnIndex
)

Parameters

columnIndex
Type: System Int32

Return Value

Type: Boolean
If the column is null Return false,else if the column width is Autofit Return true, the column width is CustomWidth Return false
See Also