Export WORKBOOK to WMF from Excel

Ruby library for exporting WORKBOOK to WMF file

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

Export WORKBOOK object to WMF format file using Cells Cloud SDK for Ruby

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

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

Code example in Ruby using REST API to export WORKBOOK to WMF format from spreadsheet

# For complete examples and data files, please go to https://github.com/aspose-cells-cloud/aspose-cells-cloud-ruby/
    describe 'cells_save_as_post_document_save_as test' do
        it "should work" do
            @instance = AsposeCellsCloud::LiteCellsApi.new($client_id,$client_secret,"v3.0","https://api.aspose.cloud/")
            files = {}      
            name = $DataSourceXlsx
            files[name] = ::File.open(File.expand_path("data/"+name),"r") 
            name =$AssemblyTestXlsx 
            files[name] = ::File.open(File.expand_path("data/"+name),"r")
            format = 'wmf'
            objectType =  'workbook'
            result = @instance.post_export(files  ,objectType ,format)    
        end
    end

How to use Cells Cloud SDK for Ruby to export objects from Excel WORKBOOK to WMF

  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. Call post_export method to get the resultant stream

System Requirements

  1. ruby 2.5 or newer