Convert Spreadsheet Worksheet to Pdf
Contents
[
Hide
]
Convert a local spreadsheet/Excel worksheet to a pdf file with the Aspose.Cells Cloud Web API.
Convert Worksheet to Pdf API
PUT http://api.aspose.cloud/v4.0/cells/convert/worksheet/pdf
Request Parameters:
Parameter Name | Type | Path/Query String/HTTPBody | Description |
---|---|---|---|
Spreadsheet | File | FormData | Upload the spreadsheet file. |
worksheet | String | Query | Name of the worksheet in the spreadsheet. |
outPath | String | Query | (Optional) The folder path for storing the workbook; default is null. |
outStorageName | String | Query | The output file storage name. |
fontsLocation | String | Query | Specify custom fonts. |
region | String | Query | Define the spreadsheet region setting. |
password | String | Query | The password required to open the spreadsheet file. |
Response
[
{
"Name": "ResponseFile",
"DataType": {
"Identifier": "File",
"Reference": "Stream",
"Name": "file"
}
}
]
Error Codes
- 400 Bad Request: Invalid Apose.Cells Cloud API URI.
- 401 Unauthorized: Invalid access token. Or invalid client id and secret.
- 404 Not Found: The spreadsheet file not accessible.
- 500 Server Error: The spreadsheet has encountered an anomaly in obtaining calculation data.
Why should you use the Convert Table to Pdf API?
- No need for cloud storage, reducing the burden on cloud resources.
- Development can be quickly completed through the existing SDK.
How to Use the Convert Table to Pdf API with SDKs?
Convert Table to Pdf API Specification
The Convert Table to Pdf API Specification provides a publicly accessible programming interface and enables REST interactions directly from a web browser.
Use Aspose.Cells Cloud SDKs
Using the SDK is the fastest way to develop, as it abstracts away the low-level details, allowing you to convert a spreadsheet table data to a pdf file with short code. Please check out the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.
The following code examples illustrate how to call Aspose.Cells web services using various SDKs: