Worksheet.AutoFitColumns
Contents
[
Hide
]AutoFitColumns()
Autofits all columns in this worksheet.
public void AutoFitColumns()
See Also
- class Worksheet
- namespace Aspose.Cells.GridDesktop
- assembly Aspose.Cells.GridDesktop
AutoFitColumns(int, int)
Autofits the columns width.
public void AutoFitColumns(int firstColumn, int lastColumn)
Parameter | Type | Description |
---|---|---|
firstColumn | Int32 | First column index. |
lastColumn | Int32 | Last column index. |
Remarks
AutoFitColumn is an imprecise function.
See Also
- class Worksheet
- namespace Aspose.Cells.GridDesktop
- assembly Aspose.Cells.GridDesktop
AutoFitColumns(int, int, int, int)
Autofits the columns width.
public void AutoFitColumns(int firstRow, int firstColumn, int lastRow, int lastColumn)
Parameter | Type | Description |
---|---|---|
firstRow | Int32 | First row index. |
firstColumn | Int32 | First column index. |
lastRow | Int32 | Last row index. |
lastColumn | Int32 | Last column index. |
Remarks
AutoFitColumn is an imprecise function.
See Also
- class Worksheet
- namespace Aspose.Cells.GridDesktop
- assembly Aspose.Cells.GridDesktop