将 XLS 转换为 BMP

用于将 XLS 转换为 BMP 的 NodeJS 库

使用 Cells 云的转换 API 在 NodeJS 项目中创建自定义电子表格工作流程。这是使用 NodeJS 在线将 XLS 转换为 BMP 等文档格式的专业解决方案。

使用 Cells Cloud SDK for NodeJS 将 XLS 转换为 BMP

API
PUT
https://api.aspose.cloud/v3.0/cells/convert

将文件格式从 XLS 转换为 BMP 可能是一项复杂的任务。我们的 NodeJS SDK 处理所有 XLS 到 BMP 格式的转换,同时保留源 XLS 电子表格的主要结构和逻辑内容。我们的 NodeJS 库提供了在线将 XLS 转换为 BMP 文件的专业解决方案。该Cloud SDK为NodeJS开发者提供了强大的功能,并确保高质量的BMP输出。

使用 Cells Cloud SDK 将 XLS 转换为 BMP 的 NodeJS 代码示例

// For complete examples and data files, please go to https://github.com/aspose-cells-cloud/aspose-cells-cloud-node/
    const { CellsApi, CellsWorkbook_PutConvertWorkbookRequest } = require("asposecellscloud");
    const localPath = "../TestData/source/";
    var fs = require('fs');
    var path = require('path');
    const cellsApi = new CellsApi(process.env.ProductClientId, process.env.ProductClientSecret);
    var req = new CellsWorkbook_PutConvertWorkbookRequest({
        file: fs.createReadStream(localPath + "datasource.xls"),
        format: "bmp",
    });
    cellsApi.cellsWorkbookPutConvertWorkbook(req)
        .then((result) => {
        console.log(result)
    });

了解如何使用 Cells Cloud NodeJS 库将 XLS 转换为 BMP。

  1. 注册一个帐户仪表板获取免费API配额和授权详细信息
  2. 安装 NodeJS 库并将引用(导入库)添加到您的项目中。
  3. 在 JavaScript 中打开源文件。
  4. 使用 `putConvertWorkbook` 方法检索结果流。

系统要求

  1. 节点 v6.17.1 或更高版本