Auto‑fit columns in an Excel file

This REST API supports auto‑fitting columns in an Excel workbook.

REST API

POST http://api.aspose.cloud/v3.0/cells/{name}/autofitcolumns

The request parameters are:

Parameter Name Type Location Description
name string path The name of the workbook file.
autoFitterOptions object body Options that control the auto‑fit behavior.
startColumn integer query Zero‑based index of the first column to auto‑fit.
endColumn integer query Zero‑based index of the last column to auto‑fit.
folder string query The folder that contains the workbook.
storageName string query The 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 easily access Aspose.Cells web services. The following example shows how to call the Cloud API with cURL.

Cloud SDK Family

Using an SDK is the most efficient way to accelerate development. An SDK handles low‑level details so you can focus on your project logic. Please check out 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: