Hide columns on an Excel worksheet
Contents
[
Hide
]
This REST API hides columns in a worksheet.
REST API
POST http://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/cells/columns/hide
The request parameters are:
| Parameter Name | Type | Location | Description |
|---|---|---|---|
| name | string | path | The name of the workbook file. |
| sheetName | string | path | The name of the worksheet where columns will be hidden. |
| startColumn | integer | query | Zero‑based index of the first column to hide. |
| totalColumns | integer | query | Number of consecutive columns to hide, starting from startColumn. |
| folder | string | query | Path to the folder that contains the workbook. |
| storageName | string | query | Name of the storage service where the file is located. |
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 call Aspose.Cells web services easily. The example below shows how to hide a column 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 business logic. Please check 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: