Aspose.Total for .NET is a comprehensive suite of .NET components that enables developers to easily convert PPS to JSON format within any .NET, C#, ASP.NET and VB.NET application. This powerful suite of components provides a simple two-step process for converting PPS to JSON.
The first step is to use Aspose.Slides for .NET to export the PPS file to HTML. Aspose.Slides for .NET is a powerful library of components that enables developers to create, edit, and convert presentations in various formats, including PPS. It also provides a wide range of features, such as the ability to add text, images, and shapes to presentations, as well as the ability to export presentations to HTML.
The second step is to use Aspose.Cells for .NET to convert the HTML file to JSON. Aspose.Cells for .NET is a powerful spreadsheet programming API that enables developers to create, edit, and convert spreadsheets in various formats, including JSON. It also provides a wide range of features, such as the ability to add formulas, charts, and pivot tables to spreadsheets, as well as the ability to export spreadsheets to JSON.
By using Aspose.Total for .NET, developers can quickly and easily convert PPS to JSON format within any .NET, C#, ASP.NET and VB.NET application. This powerful suite of components provides a simple two-step process for converting PPS to JSON, making it easy for developers to quickly and easily convert PPS files to JSON format.
Convert PPS to JSON Format via C#
- Open PPS file using Presentation class
- Convert PPS to HTML by using Save method
- Load HTML document by using Workbook class
- Save the document to JSON format using Save method
Get Started with .NET File Automation APIs
Install 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 PPS to JSON Format via C#
Using the API, you can also open the password-protected document. If your input PPS document is password protected, you cannot convert it to JSON format without using the password. The API allows you to open the encrypted document by passing the correct password in a LoadOptions object. The following code example shows how to open an encrypted document with a password.
Convert PPS to JSON in Range via C#
While you are converting PPS to JSON, you can also set range to your output JSON format. In order to set the range, you can open the converted HTML using Workbook class, get CellsCollection of the Worksheet containing the data, create a range from CellsCollection by specifying row & column indices, and call ExportRangeToJson method with references to Range & ExportRangeToJsonOptions objects. Finally, you can save the JSON data to file via File.WriteAllText method.