Autofit a row on an Excel worksheet
Contents
[
Hide
]
This REST API autofits a row on an Excel worksheet.
REST API
POST http://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/autofitrow
Request parameters
| Parameter Name | Type | Location | Description |
|---|---|---|---|
| name | string | path | The name of the Excel file. |
| sheetName | string | path | The name of the worksheet. |
| rowIndex | integer | query | Zero‑based index of the row to autofit. |
| firstColumn | integer | query | Index of the first column included in the operation. |
| lastColumn | integer | query | Index of the last column included in the operation. |
| autoFitterOptions | object | body | Options that control the autofit behavior (see AutoFitterOptions). |
| folder | string | query | Folder where the file is stored. |
| storageName | string | query | Name of the storage. |
The OpenAPI Specification defines a publicly accessible programming interface and lets you perform REST interactions directly from a web browser.
You can use the cURL command‑line tool to access Aspose.Cells web services easily. The example below demonstrates how to call the API with cURL.
Cloud SDK Family
Using an SDK is the fastest way to develop. An SDK abstracts low‑level details, allowing you to focus on your business logic. See the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.
The following code examples demonstrate how to call Aspose.Cells web services using various SDKs: