将 EMF 另存为 TIFF

用于将 EMF 保存为 TIFF 的 Ruby 库

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

在 Ruby 中将 EMF 文件另存为 TIFF

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

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

使用 REST API 将 EMF 保存为 TIFF 的 Ruby 代码示例

# For complete examples and data files, please go to https://github.com/aspose-cells-cloud/aspose-cells-cloud-ruby/
    require 'openssl'
    require 'bundler'
    require 'aspose_cells_cloud'
    @instance = AsposeCellsCloud::CellsApi.new(ENV['ProductClientId'],ENV['ProductClientSecret'])
    name = 'Book1.emf'
    save_options = nil
    newfilename = 'Book1Saveas.tiff'
    is_auto_fit_rows = true
    is_auto_fit_columns = true
    folder = 'Temp'
    result = @instance.cells_save_as_post_document_save_as(name, { :save_options=>save_options, :newfilename=>(folder+"/"+newfilename), :is_auto_fit_rows=>is_auto_fit_rows, :is_auto_fit_columns=>is_auto_fit_columns, :folder=>folder})


如何使用Cells Cloud SDK for Ruby将Excel文件保存为其他格式EMF为TIFF


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


系统要求


  1. 红宝石 2.5 或更新版本