WebWorksheet.AutoFitColumn
Contents
[
Hide
]AutoFitColumn(int, int, int)
Autofits the column width. This method autofits a column based on content in a range of cells within the column from startRow to endRow. AutoFitColumn is an imprecise function.
public void AutoFitColumn(int columnIndex, int startRow, int endRow)
| Parameter | Type | Description | 
|---|---|---|
| columnIndex | Int32 | column index, zero based | 
| startRow | Int32 | start row index, zero based | 
| endRow | Int32 | end row index, zero based | 
See Also
- class WebWorksheet
 - namespace Aspose.Cells.GridWeb.Data
 - assembly Aspose.Cells.GridWeb
 
AutoFitColumn(int)
Autofits the column width.
public void AutoFitColumn(int columnIndex)
| Parameter | Type | Description | 
|---|---|---|
| columnIndex | Int32 | Column index. | 
Remarks
AutoFitColumn is an imprecise function.
See Also
- class WebWorksheet
 - namespace Aspose.Cells.GridWeb.Data
 - assembly Aspose.Cells.GridWeb