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();
Filformat som stöds
- Microsoft Excel: Xls, Xlsx, Xlsb, Xlsm, Xlt, Xltx, Xltm
- Öppet kontor: Ods, Fods, Ots
- XML:SpreadsheetML, XML
- Text: Csv, Tsv, Txt (TabDelimited)
- Webb: Html, Mhtml
- Bilder: Png, Jpg, Gif, Emf
- Övrig: Pdf, Json, Markdown
- Microsoft Excel: Xls, Xlsx, Xlsb, Xlsm, Xlt, Xltx, Xltm
- Microsoft Word/PowerPoint: Docx, Pptx
- Öppet kontor: Ods, Fods, Ots
- XML:SpreadsheetML, XML
- Text: Csv, Tsv, Txt (TabDelimited)
- Webb: Html, Mhtml
- Bilder: Png, Jpg, Gif, Emf, Svg, Tiff
- Övrig: Pdf, Xps, Dif, Json, Markdown, Sql
Populära fungerar
Stöds utveckla språk
- Lärresurser
- Dokumentation
- Källkod
- API Referenser
- Handledningsvideor
- Produktsupport
- Gratis support
- Betald support
- Blogg