将 BMP 另存为 XLS

用于将 BMP 保存为 XLS 的 NodeJS 库

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

在 NodeJS 中将 BMP 文件另存为 XLS

API
POST
https://api.aspose.cloud/v3.0/cells/{name}/SaveAs

将 BMP 中的文件格式保存为 XLS 是一项复杂的任务。所有 BMP 到 XLS 格式的转换均由我们的 NodeJS SDK 执行,同时保留源 BMP 电子表格的主要结构和逻辑内容。我们的 NodeJS 库是在线将 BMP 保存为 XLS 文件的专业解决方案。该Cloud SDK为NodeJS开发人员提供了强大的功能和完美的XLS输出。

使用 REST API 将 BMP 保存为 XLS 的 NodeJS 代码示例

// For complete examples and data files, please go to https://github.com/aspose-cells-cloud/aspose-cells-cloud-node/
    const { CellsApi, CellsSaveAs_PostDocumentSaveAsRequest } = require("asposecellscloud");
    const cellsApi = new CellsApi(process.env.ProductClientId, process.env.ProductClientSecret);
    var req = new CellsSaveAs_PostDocumentSaveAsRequest({
      name: "Book1.bmp",
      folder: "CellsTests",
      newfilename: "Book1Saveas.xls",
    });
    cellsApi.cellsSaveAsPostDocumentSaveAs(req)
      .then((result) => {
        console.log(result)
    });


如何使用Cells Cloud SDK for Node将Excel文件保存为其他格式BMP保存为XLS


  1. 注册一个帐户仪表板获取免费API配额和授权详细信息
  2. 使用您的客户端 ID、客户端密钥、基本 URL 和 API 版本初始化 Cells API。
  3. 使用 `PostWorkbookSaveAs` 方法检索结果流。


系统要求


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