Add a Vertical Page Break – Aspose.Cells Cloud API

This REST API inserts a vertical page break into a worksheet.

Security and Authentication

The Aspose.Cells Cloud APIs are secure and require JWT token-based authentication.

REST API

PUT https://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/verticalpagebreaks

Request Parameters

Parameter Name Type Location Description
name string path The name of the Excel workbook.
sheetName string path The name of the worksheet where the page break will be added.
cellname string query The cell reference (e.g., A1) that defines the page‑break location.
column integer query The zero-based index of the column where the page break starts.
row integer query The zero-based index of the row where the page break starts.
startRow integer query The first row of the page‑break range.
endRow integer query The last row of the page‑break range.
folder string query The folder path in the storage where the workbook is located.
storageName string query The name of the storage service.

Required parameters – Either cellname or column must be supplied. When column is used you may also provide row, startRow, and endRow to define a range. All other fields are optional.

The OpenAPI Specification defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.

cURL Example

curl -v "https://api.aspose.cloud/v3.0/cells/SampleBreaks.xlsx/worksheets/Sheet1/verticalpagebreaks?column=9" \
  -X PUT \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer <jwt token>"

Response

{
  "Code": 200,
  "Status": "OK"
}

HTTP Status Codes

Code Meaning Description
200 OK Filter applied successfully; response contains operation details.
400 Bad Request Missing or invalid parameters (e.g., unsupported file type).
401 Unauthorized Invalid or missing JWT token.
413 Payload Too Large Uploaded file exceeds size limit.
500 Internal Server Error Unexpected server error.

Cloud SDK Family

Using an SDK is the best way to speed up development. An SDK handles low‑level details and lets you 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 make calls to Aspose.Cells web services using various SDKs: