Set background in Excel file

Aspose.Cells Cloud SDK supports setting backgrounds or watermarks for Excel files.

Aspose.Cells Cloud REST API supports setting backgrounds for Excel files and provides SDKs for various programming languages, including Android, C#, Go, Java, NodeJS, Perl, PHP, Python, Ruby, and Swift.

POST
https://api.aspose.cloud/v3.0/cells/watermark
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";
	PostWatermarkRequest request = new PostWatermarkRequest();
	request.File = new Dictionary<string, Stream>();
	Stream fileStream = File.OpenRead(filePath);
	request.File.Add(filePath, fileStream);
    request.color = "#ccc";
    request.text = "Aspose.Cells Cloud";
	Aspose.Cells.Cloud.SDK.Model.FilesResult result = cellsApi.PostWatermark(request);
	fileStream.Close();
 
 

Popular Operates

 
 
 
 
 
 
 

Supported Develop Languages