With every new release, we are striving to bring the best of PowerPoint manipulation and processing features. We are continuously working hard to make Aspose.Slides Cloud capable enough to cater to all PowerPoint manipulation capabilities. So, in this article, we are going to discuss the following topics in details

Info: You may want to check out Aspose FREE PowerPoint to PDF online converter.

Support for FODP Format

The FODP is a Presentation file saved in the OpenDocument format but saved using a flat XML format, instead of the .ZIP container used by the standard .ODP files. It makes auto-generating presentations simpler and allows the presentations to be readable with a text editor. In the latest release version of Aspose.Slides Cloud SDK for .NET, the support for .fodp format has been provided. It now enables the users to load .fodb file for processing or, load existing PowerPoint files and save to FODB format.

cURL command

curl -X PUT "https://api.aspose.cloud/v3.0/slides/NotesPresentation.pptx/Fodp?outPath=NotesPresentation.fodp" -H  "accept: application/json" -H  "authorization: Bearer <JWT Token>" -H  "Content-Type: application/json" -H  "x-aspose-client: Containerize.Swagger" -d "{  \"Format\": \"string\"}"

Request URL

https://api.aspose.cloud/v3.0/slides/NotesPresentation.pptx/Fodp?outPath=NotesPresentation.fodp

C#.NET

// For complete examples and data files, please go to https://github.com/aspose-slides-cloud/aspose-slides-cloud-dotnet
string MyAppKey = "xxxxxxxx"; // Get AppKey and AppSID from https://dashboard.aspose.cloud/
string MyAppSid = "xxxxxxxx"; // Get AppKey and AppSID from https://dashboard.aspose.cloud/
// initialize Aspose.Slides Cloud instance
SlidesApi api = new SlidesApi(MyAppSid, MyAppKey);
// Create an object of PostSlidesSaveAsRequest to transform the file
PostSlidesSaveAsRequest request = new PostSlidesSaveAsRequest
{
Name = "NotesPresentation.pptx",
Format = ExportFormat.Fodp,
};
Stream response = api.PostSlidesSaveAs(request);
// save the resultant file to system drive
response.CopyTo(File.Create("myPresentation.fodp"));

New PdfCompliance Options

In the latest release version, a couple of new options (PdfA1a and PdfUa options) have been added to ComplianceEnum enumeration.

A compliance Options

Image 1:- Newly added PDF/A compliance options

// complete examples can be found over https://github.com/aspose-slides-cloud/aspose-slides-cloud-dotnet
string MyAppKey = "xxxxxxxx"; // Get AppKey and AppSID from https://dashboard.aspose.cloud/
string MyAppSid = "xxxxxxxxx"; // Get AppKey and AppSID from https://dashboard.aspose.cloud/
// initialize Aspose.Slides Cloud instance
SlidesApi Slidesapi = new SlidesApi(MyAppSid, MyAppKey);
// PdfExportOption instance to set options during PDF rendering
Aspose.Slides.Cloud.Sdk.Model.PdfExportOptions pdfExportOptions = new PdfExportOptions();
// select PDF/A compliance format
pdfExportOptions.Compliance = PdfExportOptions.ComplianceEnum.PdfA1a;
// load PPTX from cloud storage and set export format as PDF and PdfExportOptions
PostSlideSaveAsRequest postSlideSaveAsRequest = new PostSlideSaveAsRequest("Presentation1-a.pptx", 1, SlideExportFormat.Pdf, pdfExportOptions);
// parse resultant file to stream object
Stream pdf = Slidesapi.PostSlideSaveAs(postSlideSaveAsRequest);
// save the resultant file to system drive
pdf.CopyTo(File.OpenWrite("MyPresentation-pdf-a1a.pdf"));
A-1a compliant output

Image 2:- PPTX converted to PDF/A-1a Compliant format

Determining Notes Slide

An essential part of a presentation is the preparation of speaker notes. These notes can include reminders of what to say and additional information or facts that do not appear on the screen.

PowerPoint slide with Notes

Image 3:- PowerPoint slide with Notes

PowerPoint presentation from Cloud Storage

Request URL

https://api.aspose.cloud/v3.0/slides/Presentation1-a.pptx/slides/1/notesSlide/exist

cURL Command

curl -X GET "https://api.aspose.cloud/v3.0/slides/Presentation1-a.pptx/slides/1/notesSlide/exist" -H "accept: application/json" -H "authorization: Bearer <JWT Token>"

C#.NET

// complete examples can be found over https://github.com/aspose-slides-cloud/aspose-slides-cloud-dotnet
string MyAppKey = "xxxxxxxx"; // Get AppKey and AppSID from https://dashboard.aspose.cloud/
string MyAppSid = "xxxxxxxx"; // Get AppKey and AppSID from https://dashboard.aspose.cloud/
// initialize Aspose.Slides Cloud instance
SlidesApi Slidesapi = new SlidesApi(MyAppSid, MyAppKey);
// Load PowerPoint from Cloud storage and determine notes in first slide
GetNotesSlideExistsRequest request = new GetNotesSlideExistsRequest
{
Name = "Presentation1-a.pptx",
SlideIndex = 1
};
// identify if notes exist in slide
EntityExists exists = Slidesapi.GetNotesSlideExists(request);
// print result on console
Console.WriteLine(exists.Exists);

PowerPotin Presentation from local system

Request URL

https://api.aspose.cloud/v3.0/slides/slides/1/notesSlide/exist

cURL Command

curl -X POST "https://api.aspose.cloud/v3.0/slides/slides/2/notesSlide/exist" -H "accept: application/json" -H "authorization: Bearer <JWT Token>" -d {"document":{}}

C#.NET

// Complete examples can be found over https://github.com/aspose-slides-cloud/aspose-slides-cloud-dotnet
string MyAppKey = "xxxxxxxx"; // Get AppKey and AppSID from https://dashboard.aspose.cloud/
string MyAppSid = "xxxxxxxx"; // Get AppKey and AppSID from https://dashboard.aspose.cloud/
// initialize Aspose.Slides Cloud instance
SlidesApi Slidesapi = new SlidesApi(MyAppSid, MyAppKey);
// Load PowerPoint from local system drive and determine notes in first slide
PostGetNotesSlideExistsRequest request = new PostGetNotesSlideExistsRequest
{
Document = File.OpenRead("Presentation1-a.pptx"),
SlideIndex = 1
};
// identify if notes exist in slide
EntityExists exists = Slidesapi.PostGetNotesSlideExists(request);
// print result on console
Console.WriteLine("Notes exist in Slide :"+ exists.Exists);

Export PowerPoint Subshapes as PNG

Shapes are a great way to make your presentations more interesting. PowerPoint shapes can be customized to suit your needs, using your own color palette, preferences, and more. Shapes add visual appeal to your presentations. Aspose.Slides Cloud provides the capabilities to extract/save the shape into one of the following raster image formats.

Raster image export formats

Image 4:- Image Export formats

PowerPoint slide with smart shapes

Image 5:- PowerPoint slide with shapes

C#.NET

// complete examples can be found over https://github.com/aspose-slides-cloud/aspose-slides-cloud-dotnet
string MyAppKey = "xxxxxxxx"; // Get AppKey and AppSID from https://dashboard.aspose.cloud/
string MyAppSid = "xxxxxxxxx"; // Get AppKey and AppSID from https://dashboard.aspose.cloud/
// initialize Aspose.Slides Cloud instance
SlidesApi Slidesapi = new SlidesApi(MyAppSid, MyAppKey);
// create an object to load PPTX and access 4th shape object on 2nd slide
PostSubshapeSaveAsRequest request = new PostSubshapeSaveAsRequest
{
Name = "Presentation1-a.pptx",
SlideIndex = 2,
ShapeIndex = 4,
Format = ShapeExportFormat.Png,
ScaleX = 2,
ScaleY = 2
};
// get the shape object into Stream instance
Stream file = Slidesapi.PostSubshapeSaveAs(request);
// save the raster image over system drive
file.CopyTo(File.Create("subshape.png"));
smartshape exported as PNG

Image 6:- Shape exported in PNG format

Conclusion

In this article, we have discussed details related to new features introduced in Aspose.Slides Cloud SDK for .NET. We have specifically discussed details on how to export subshapes as PNG or JPEG format, how to convert PPT to PDF/A format. In case you face any issues while using the API, please feel free to contact us via the free product support forum.

We also recommend visiting the following links to further learn about