Get Horizontal Page Breaks

Horizontal page break – a row‑based break that forces the worksheet to start a new printed page after the specified row. This REST API retrieves those horizontal page breaks.

REST API

GET https://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/horizontalpagebreaks

Request Parameters

Parameter Name Type Location Description
name string path The name of the Excel file.
sheetName string path The name of the worksheet.
folder string query The folder path in storage where the file is located. (optional)
storageName string query The name of the storage. (optional)

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 access Aspose.Cells web services easily. The following example shows how to call the Cloud API with cURL.

Error Handling

HTTP Status Description Example JSON
400 Bad request – missing or invalid parameters. { "Code": 400, "Message": "Invalid parameter." }
401 Unauthorized – JWT token is missing or invalid. { "Code": 401, "Message": "Authentication failed." }
404 Not found – the specified file or worksheet does not exist. { "Code": 404, "Message": "Resource not found." }
500 Internal server error – unexpected condition on the server. { "Code": 500, "Message": "Server error." }

Cloud SDK Family

Using an SDK is the best way to speed up development. An SDK handles low‑level details so you can focus on your project tasks. 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: