Autofit rows on an Excel workbook
Contents
[
Hide
]
This REST API allows you to autofit rows in an Excel workbook.
REST API
POST http://api.aspose.cloud/v3.0/cells/{name}/autofitrows
The request parameters are:
| Parameter Name | Type | Location | Description |
|---|---|---|---|
| name | string | path | Name of the workbook file. |
| autoFitterOptions | AutoFitterOptions | body | Options that control the autofit behavior. |
| startRow | integer | query | Index of the first row to autofit. |
| endRow | integer | query | Index of the last row to autofit. |
| firstColumn | integer | query | Index of the first column considered for autofit. |
| lastColumn | integer | query | Index of the last column considered for autofit. |
| onlyAuto | boolean | query | If true, only rows with the AutoFit flag are processed (default false). |
| folder | string | query | Folder path where the workbook is stored. |
| storageName | string | query | Name of the storage service. |
The OpenAPI Specification defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.
You can use the cURL command‑line tool to call Aspose.Cells web services. The example below shows how to make a request with cURL.
Cloud SDK Family
Using an SDK is the fastest way to develop. An SDK abstracts low‑level details so you can focus on your project. 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: