PUT
https://api.aspose.cloud/v3.0/cells/convert
Choose files
using Aspose.Cells.Cloud.SDK.Api;
using Aspose.Cells.Cloud.SDK.Request;
using System;
using System.IO;
using System.Collections.Generic;
CellsApi cellsApi = new CellsApi("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
string filePath = "test.txt";
PutConvertWorkbookRequest request = new PutConvertWorkbookRequest();
request.File = new Dictionary<string, Stream>();
Stream fileStream = File.OpenRead(filePath);
request.File.Add(filePath, fileStream);
request.format = "xps";
request.streamFormat = "html";
Stream stream = cellsApi.PutConvertWorkbook(request);
fileStream.Close();
Supported File Formats
- Microsoft Excel: Xls, Xlsx, Xlsb, Xlsm, Xlt, Xltx, Xltm
- OpenOffice: Ods, Fods, Ots
- Xml:SpreadsheetML, Xml
- Text: Csv, Tsv, Txt (TabDelimited)
- Web: Html, Mhtml
- Images: Png, Jpg, Gif, Emf
- Other: Pdf, Json, Markdown
- Microsoft Excel: Xls, Xlsx, Xlsb, Xlsm, Xlt, Xltx, Xltm
- Microsoft Word/PowerPoint: Docx, Pptx
- OpenOffice: Ods, Fods, Ots
- Xml:SpreadsheetML, Xml
- Text: Csv, Tsv, Txt (TabDelimited)
- Web: Html, Mhtml
- Images: Png, Jpg, Gif, Emf, Svg, Tiff
- Other: Pdf, Xps, Dif, Json, Markdown, Sql
Popular Operates
Supported Develop Languages
- Learning Resources
- Documentation
- Source Code
- API References
- Tutorial Videos
- Product Support
- Free Support
- Paid Support
- Blog
- Why Aspose.Cells Cloud SDK for .NET?
- Customers List
- Security