Export LISTOBJECT to SVG from Excel

NodeJS library for exporting LISTOBJECT to SVG file

Use Export API of Cells Cloud to export Excel file internal object workflows in NodeJS. This is a professional solution to export LISTOBJECT to SVG format file from spreadsheet online using NodeJS.

Export LISTOBJECT object to SVG format file using Cells Cloud SDK for NodeJS

API
POST
https://api.aspose.cloud/v3.0/cells/export

Export LISTOBJECT object to SVG file from Excel file is a complex task. Export LISTOBJECT to SVG format transitions is performed by our NodeJS SDK while maintaining the source LISTOBJECT spreadsheet's main structural and logical content. Our NodeJS library is a professional solution to export LISTOBJECT objects to SVG format files online. This Cloud SDK gives NodeJS developers powerful functionality and perfect SVG output.

Code example in NodeJS using REST API to export LISTOBJECT to SVG format from spreadsheet

// For complete examples and data files, please go to https://github.com/aspose-cells-cloud/aspose-cells-cloud-node/
    const { LightCellsApi, PostExportRequest } = require("asposecellscloud");
    const localPath = "C:/";
    var fs = require('fs');
    var path = require('path');
    const cellsApi = new LightCellsApi(process.env.ProductClientId, process.env.ProductClientSecret);
    const AssemblyTestXlsx = "assemblytest.xlsx";
    var dataAssemblyTestXlsx =fs.createReadStream(localPath  + AssemblyTestXlsx);
    const DataSourceXlsx = "datasource.xlsx";
    var dataDataSourceXlsx =fs.createReadStream(localPath  + DataSourceXlsx);
    var req = new PostExportRequest({
      file:{AssemblyTestXlsx:dataAssemblyTestXlsx ,DataSourceXlsx:dataDataSourceXlsx },
      objectType : "listobject",
      format: "svg",
    });
    cellsApi.postExport(req)
      .then((result) => {
        let buff = new Buffer(result.body.files[0].fileContent, 'base64');
        fs.writeFileSync(result.body.files[0].filename, buff);
    });

How to use Cells Cloud SDK for Node to export objects from Excel LISTOBJECT to SVG

  1. Register an account at Dashboard to get free API quota & authorization details
  2. Initialize the Cells API with your Client ID, Client Secret, Base URL, and API version.
  3. Use the `postExport` method to retrieve the resulting stream.

System Requirements

  1. node v6.17.1 or newer