Skip to content

Commit 84b527f

Browse files
committed
2 parents 5d06a18 + 9a02518 commit 84b527f

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

README.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![](https://img.shields.io/badge/aspose.cells%20Cloud%20SDK-v25.8.0-blue?style=for-the-badge&logo=dotnet) [![Product Page](https://img.shields.io/badge/Product-0288d1?style=for-the-badge&logo=Google-Chrome&logoColor=white)](https://products.aspose.cloud/cells/net/) [![Documentation](https://img.shields.io/badge/Documentation-388e3c?style=for-the-badge&logo=Hugo&logoColor=white)](https://docs.aspose.cloud/cells/) [![API Ref](https://img.shields.io/badge/Reference-f39c12?style=for-the-badge&logo=html5&logoColor=white)](https://reference.aspose.cloud/cells/) [![Examples](https://img.shields.io/badge/Examples-1565c0?style=for-the-badge&logo=Github&logoColor=white)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-dotnet/tree/main/examples) [![Blog](https://img.shields.io/badge/Blog-d32f2f?style=for-the-badge&logo=WordPress&logoColor=white)](https://blog.aspose.cloud/categories/aspose.cells-cloud-product-family/) [![Support](https://img.shields.io/badge/Support-7b1fa2?style=for-the-badge&logo=Discourse&logoColor=white)](https://forum.aspose.cloud/c/cells/7) [![License](https://img.shields.io/github/license/aspose-cells-cloud/aspose-cells-cloud-go?style=for-the-badge&logo=rocket&logoColor=white)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-dotnet/blob/master/LICENSE)
1+
![](https://img.shields.io/badge/aspose.cells%20Cloud%20SDK-v25.8.1-blue?style=for-the-badge&logo=dotnet) [![Product Page](https://img.shields.io/badge/Product-0288d1?style=for-the-badge&logo=Google-Chrome&logoColor=white)](https://products.aspose.cloud/cells/net/) [![Documentation](https://img.shields.io/badge/Documentation-388e3c?style=for-the-badge&logo=Hugo&logoColor=white)](https://docs.aspose.cloud/cells/) [![API Ref](https://img.shields.io/badge/Reference-f39c12?style=for-the-badge&logo=html5&logoColor=white)](https://reference.aspose.cloud/cells/) [![Examples](https://img.shields.io/badge/Examples-1565c0?style=for-the-badge&logo=Github&logoColor=white)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-dotnet/tree/main/examples) [![Blog](https://img.shields.io/badge/Blog-d32f2f?style=for-the-badge&logo=WordPress&logoColor=white)](https://blog.aspose.cloud/categories/aspose.cells-cloud-product-family/) [![Support](https://img.shields.io/badge/Support-7b1fa2?style=for-the-badge&logo=Discourse&logoColor=white)](https://forum.aspose.cloud/c/cells/7) [![License](https://img.shields.io/github/license/aspose-cells-cloud/aspose-cells-cloud-go?style=for-the-badge&logo=rocket&logoColor=white)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-dotnet/blob/master/LICENSE)
22

33
# .NET package for Aspose.Cells Cloud
44

@@ -7,27 +7,24 @@ Enhance your .NET applications with the [Aspose.Cells Cloud](https://products.as
77
## Quick Start Guide
88

99
To get started with Aspose.Cells Cloud for .NET, follow these steps:
10-
11-
1. Create an account at [Aspose for Cloud](https://dashboard.aspose.cloud/#/apps) and obtain your application information.
10+
1. Create an account at [Aspose for Cloud](https://dashboard.aspose.cloud/#/apps) and obtain your ”Client Id" and "Client Secret".
1211
2. execute `Install-Package Aspose.Cells-Cloud` from the Package Manager Console in Visual Studio to fetch & reference Aspose.Cells Cloud SDK assembly in your project.If you already have Aspose.Cells Cloud for .NET and want to upgrade it, please execute `Update-Package Aspose.Cells-Cloud` to get the latest version.
13-
3. You need to set your CellsCloudClientId and CellsCloudClientSecret in the environment variables.
1412

1513
```csharp
1614
namespace Aspose.Cells.Cloud.SDK.Example
1715
{
1816
using Aspose.Cells.Cloud.SDK.Api;
1917
using Aspose.Cells.Cloud.SDK.Request;
2018
using System;
21-
using System.Collections.Generic;
22-
using System.IO;
2319

2420
public partial class CellsApiExample
2521
{
26-
public void PutConvertWorkbookHtmlExample()
22+
public void ConvertSpreadsheetPDFExample()
2723
{
28-
CellsApi cellsApi = new CellsApi(Environment.GetEnvironmentVariable("CellsCloudTestClientId"), Environment.GetEnvironmentVariable("CellsCloudTestClientSecret"));
29-
PutConvertWorkbookRequest request = new PutConvertWorkbookRequest { LocalPath = "Book1.xlsx", format = "html" };
30-
cellsApi.PutConvertWorkbook(request);
24+
string clientId = ""; //your client id;
25+
string clientSecret=""; //your client secret;
26+
CellsApi cellsApi = new CellsApi(clientId, clientSecret);
27+
cellsApi.ConvertSpreadsheet(new ConvertSpreadsheetRequest { Spreadsheet = "EmployeeSalesSummary.xlsx", format = "pdf" }, "EmployeeSalesSummary.pdf");
3128
}
3229
}
3330

0 commit comments

Comments
 (0)