Convert PPSM to XLSB via C#
.NET API for PPSM to XLSB conversion without using Microsoft® Excel or PowerPoint
By using Aspose.Total for .NET you can convert PPSM file to XLSB within any .NET, C#, ASP.NET and VB.NET application in two simple steps. Firstly, by using Aspose.Slides for .NET , you can export PPSM to HTML. After that, by using Aspose.Cells for .NET Spreadsheet Programming API, you can convert HTML to XLSB.
How to Convert PPSM to XLSB via C#
- Open PPSM file using Presentation class
- Export PPSM as HTML by using Save method
- Load HTML document by using Workbook class
- Save the document to XLSB using Save method
PPSM File Conversion in C#
For PPSM file to XLSB Conversion in C#, please install the API from the command line as nuget install Aspose.Total
or via Package Manager Console of Visual Studio.
Alternatively, get the offline MSI installer or DLLs in a ZIP file from downloads .
Convert Protected PPSM to XLSB via C#
While converting PPSM file to XLSB, if your input PPSM document is password protected you cannot convert it to XLSB without decrypting the document. When your document is password protected, it means it enforces certain restrictions on the presentation. To remove the restrictions, the password has to be entered. A password-protected presentation is considered a locked presentation. The API allows you to open the encrypted document by passing the correct password in a LoadOptions object.
Convert PPSM to XLSB with Watermark via C#
While converting PPSM file to XLSB, you can also add watermark to your output XLSB file format. In order to add a watermark, you can create a new Workbook object and open the converted HTML document, select Worksheet via its index, create a Shape and use its AddTextEffect function. After that you can save your HTML document as XLSB with Watermark.