Ai Assistant
Hello, this is the AI assistant, which can quickly help you perform operations such as Summarize, BuildSpreadsheet, GetCode, etc. on the uploaded Excel files.
POST
https://api.aspose.cloud/v3.0/cells/clearobjects
Choose files
Show all parameters
using Aspose.Cells.Cloud.SDK.Api;
using Aspose.Cells.Cloud.SDK.Model;
using Aspose.Cells.Cloud.SDK.Request;
using Newtonsoft.Json;
using System;
using System.IO;
using System.Collections.Generic;
CellsApi cellsApi = new CellsApi("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
var request = new PostClearObjectsRequest();
request.File = new Dictionary<string, Stream>();
string filePath = "Book1.xlsx";
Stream fileStream = File.OpenRead(filePath);
request.File.Add(filePath, fileStream);
request.objecttype = "";
request.sheetname = "Sheet1";
request.outFormat = "";
request.password = "";
request.checkExcelRestriction = true;
request.region = "";
var result = cellsApi.PostClearObjects(request);
fileStream.Close();
支持的文件格式
- Microsoft Excel:Xls、Xlsx、Xlsb、Xlsm、Xlt、Xltx、Xltm
- 开发办公室: Ods、Fods、Ots
- XML:电子表格ML、Xml
- 文本: Csv、Tsv、Txt(制表符分隔)
- 网址: Html、Mhtml
- 图片: Png、Jpg、Gif、Emf
- 其他: Pdf、Json、Markdown
- Microsoft Excel:Xls、Xlsx、Xlsb、Xlsm、Xlt、Xltx、Xltm
- Microsoft字/PowerPoint:文档、PPT
- 开发办公室: Ods、Fods、Ots
- XML:电子表格ML、Xml
- 文本: Csv、Tsv、Txt(制表符分隔)
- 网址: Html、Mhtml
- 图片: Png、Jpg、Gif、Emf、Svg、Tiff
- 其他: Pdf、Xps、Dif、Json、Markdown、Sql