Get Excel file to other formats
Contents
[
Hide
]
This REST API retrieves an Excel workbook in a different format.
Query Parameters
| Parameter Name | Type | Description |
|---|---|---|
| format | string | Target file format (e.g., CSV, XLS, HTML, MHTML, ODS, PDF, XML, TXT, TIFF, XLSB, XLSM, XLSX, XLTM, XLTX, XPS, PNG, JPG, GIF, EMF, BMP, MD, Numbers, WMF, SVG, etc.). |
| password | string | Password required to open the Excel file. |
| isAutoFit | bool | Automatically fits rows and columns width. Default is false. |
| onlySaveTable | bool | When true, only table data is saved. Accepts true or false. |
| outPath | string | Path to save the result. For a single file, include the filename and extension; for multiple files, specify only the folder. |
| outStorageName | string | Name of the storage where the output file will be saved. |
| checkExcelRestriction | bool | Checks Excel restrictions when modifying cells or related objects. |
| region | string | Regional settings applied to the workbook. |
| pageWideFitOnPerSheet | bool | Fits the page width to each worksheet when converting to PDF. |
| pageTallFitOnPerSheet | bool | Fits the page height to each worksheet when converting to PDF. |
| onePagePerSheet | bool | Generates one PDF page per worksheet. |
| folder | string | Folder path of the original workbook. |
| storageName | string | Name of the storage where the source file is located. |
REST API
| API | Type | Description | Swagger Link |
|---|---|---|---|
| /cells/{name} | GET | Exports a workbook to another format. | GetWorkBook |
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 access Aspose.Cells web services easily. The following example shows how to call the Cloud API 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 project tasks. 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: