Worksheet.AutoFitColumn
AutoFitColumn(int, int, int)
Autofits the column width.
public void AutoFitColumn(int columnIndex, int firstRow, int lastRow)
Parameter | Type | Description |
---|---|---|
columnIndex | Int32 | Column index. |
firstRow | Int32 | First row index. |
lastRow | Int32 | Last row index. |
Remarks
This method autofits a row based on content in a range of cells within the row.
See Also
- class Worksheet
- namespace Aspose.Cells.GridDesktop
- assembly Aspose.Cells.GridDesktop
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 Worksheet
- namespace Aspose.Cells.GridDesktop
- assembly Aspose.Cells.GridDesktop