Export Worksheet

You can export a worksheet to the following formats:
XLS, XLSX, XLSB, CSV, TSV, XLSM, ODS, TXT, PDF, OTS, XPS, DIF, PNG, JPEG, BMP, SVG, TIFF, EMF, NUMBERS, FODS.

REST API

API Type Description Swagger Link
/cells/export POST Export an Excel worksheet from the request body to a specified format PostExport

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.

Request

curl -X POST "https://api.aspose.cloud/v3.0/cells/export?objectType=worksheet&format=tiff" \
     -H "accept: multipart/form-data" \
     -H "Content-Type: multipart/form-data" \
     -H "x-aspose-client: Containerize.Swagger" \
     -d '{"File":{}}'

Response

{
    "Files": [
        {
            "Filename": "Book1_xlsx_Sheet1.tif",
            "FileSize": 390,
            "FileContent": "-----Base64String--------"
        },
        {
            "Filename": "Book1_xlsx_Sheet2.tif",
            "FileSize": 10040,
            "FileContent": "-----Base64String--------"
        },
        {
            "Filename": "Book1_xlsx_Sheet3.tif",
            "FileSize": 2824,
            "FileContent": "-----Base64String--------"
        },
        {
            "Filename": "Book1_xlsx_Sheet4.tif",
            "FileSize": 1350,
            "FileContent": "-----Base64String--------"
        },
        {
            "Filename": "Book1_xlsx_Sheet5.tif",
            "FileSize": 12978,
            "FileContent": "-----Base64String--------"
        },
        {
            "Filename": "Book1_xlsx_Sheet6.tif",
            "FileSize": 7002,
            "FileContent": "-----Base64String--------"
        },
        {
            "Filename": "Book1_xlsx_Sheet7.tif",
            "FileSize": 11532,
            "FileContent": "-----Base64String--------"
        },
        {
            "Filename": "myDocument_xlsx_Sheet1.tif",
            "FileSize": 382,
            "FileContent": "-----Base64String--------"
        },
        {
            "Filename": "myDocument_xlsx_Sheet2.tif",
            "FileSize": 382,
            "FileContent": "-----Base64String--------"
        },
        {
            "Filename": "myDocument_xlsx_Sheet3.tif",
            "FileSize": 130084,
            "FileContent": "-----Base64String--------"
        },
        {
            "Filename": "myDocument_xlsx_Sheet4.tif",
            "FileSize": 120062,
            "FileContent": "-----Base64String--------"
        }
    ]
}

Cloud SDK Family

Using an SDK is the fastest way to develop against Aspose.Cells Cloud. An SDK abstracts low‑level details, allowing you to focus on your business logic. For a complete list of supported SDKs, please visit the GitHub repository.

The following code examples demonstrate how to call Aspose.Cells web services using various SDKs: