清除Excel中的对象

Aspose.Cells Cloud SDK支持清除Excel文件中的内容、样式、图表、表格、背景等。

Aspose.Cells Cloud REST API支持清除Excel文件中的内部对象,并提供多种编程语言的SDK,包括Android、C#、Go、Java、NodeJS、Perl、PHP、Python、Ruby和Swift。

POST
https://api.aspose.cloud/v3.0/cells/clearobjects
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";
	PostClearObjectsRequest request = new PostClearObjectsRequest();
	request.File = new Dictionary<string, Stream>();
	Stream fileStream = File.OpenRead(filePath);
	request.File.Add(filePath, fileStream);
    request.objecttype = "Background";
	Aspose.Cells.Cloud.SDK.Model.FilesResult result = cellsApi.PostClearObjects(request);
	fileStream.Close();    
	    
 
 

热门经营

 
 
 
 
 
 
 

支持的开发语言