SaveAs Excel

This REST API indicates to save excel file as different format file.

Path Parameter

Parameter Name Type Description
name string The file name.

Query Parameter

Parameter Name Type Description
newfilename string new file name
isAutoFitRows string Auto-fits all rows in this workbook. The default value is false.
isAutoFitColumns string Auto-fits the columns width in this workbook. The default value is false.
folder string Original workbook folder.
storageName string The storage name where the file is situated.
outStorageName string The storage name where the saved file is situated.
checkExcelRestriction bool Whether check restriction of excel file when user modify cells related objects.
region string The regional settings for workbook.
pageWideFitOnPerSheet bool The page wide fit on worksheet.
pageTallFitOnPerSheet bool The page tall fit on worksheet.
sheetName string Convert the specified worksheet.
pageIndex string Convert the specified page of worksheet, sheetName is required.
onePagePerSheet bool When converting to PDF format, one page per sheet.

Request Body Parameter

Parameter Name Type Description
SaveOptions Object Save option save into the second part of the multipart content.

REST API

API Type Description Resource Link
/cells/{name}/saveAs POST Export workbook to Format PostDocumentSaveAs

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

You can use cURL command-line tool to access Aspose.Cells web services easily. The following example shows how to make calls to Cloud API with cURL.

Cloud SDK Family

Using an SDK is the best way to speed up the development. An SDK takes care of 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: