// For complete examples and data files, please go to https://github.com/aspose-cells-cloud/aspose-cells-cloud-dotnet/ namespace Aspose.Cells.Cloud.SDK.Example { using Aspose.Cells.Cloud.SDK.Api; using Aspose.Cells.Cloud.SDK.Request; using System; using System.Collections.Generic; using System.IO; public partial class CellsApiExample { public void PutConvertWorkbookHtmlExample() { CellsApi cellsApi = new CellsApi(Environment.GetEnvironmentVariable("CellsCloudTestClientId"), Environment.GetEnvironmentVariable("CellsCloudTestClientSecret")); IDictionary<string, Stream> mapFiles = new Dictionary<string, Stream>(); mapFiles.Add("Book1.xlsx", File.OpenRead(@"TestData\Book1.xlsx")); mapFiles.Add("myDocument.xlsx", File.OpenRead(@"TestData\myDocument.xlsx")); PutConvertWorkbookRequest request = new PutConvertWorkbookRequest { File = mapFiles, format = "html" }; cellsApi.PutConvertWorkbook(request); } } }