Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Aspose.Cells provides a class, Workbook, that represents a Microsoft Excel file. The Workbook class contains a WorksheetCollection that allows access to each worksheet in the Excel file. A worksheet is represented by the Worksheet class. The Worksheet class provides a Cells collection that represents all cells in the worksheet.
The Cells collection provides several methods to manage rows or columns in a worksheet. Some of these are discussed below in more detail.
It is possible to set the height of a single row by calling the Cells collection’s setRowHeight method. The setRowHeight method takes the following parameters:
To set the same row height for all rows in a worksheet, use the Cells collection’s setStandardHeight method.
Set the width of a column by calling the Cells collection’s setColumnWidth method. The setColumnWidth method takes the following parameters:
To set the same column width for all columns in a worksheet, use the Cells collection’s setStandardWidth method.
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.