This version of Aspose.Slides for .NET introduces significant enhancements to presentation processing capabilities for C# developers. Take your presentations to the next level with version 24.4 of the .NET API.
Key Highlights
- A Modernized API: We have introduced a new and modern API, that will gradually replace dependencies on
System.Drawing
for a more streamlined development experience. - ZIP64 Support: This update to the C# presentation API facilitates managing larger presentations with enhanced ZIP64 format support.
- Save PPTX as XML: You can now export presentations in the PowerPoint XML presentation format for broader compatibility.
- Detect Password-Protected Macros: With the latest API version, users can identify presentations with password-protected macros for improved security awareness.
- Improved Text Extraction: While converting presentations, our API ensures accurate text extraction from group shapes.
- Enhanced PDF Conversion: Developers can now experience better rendering of charts, tables, and text in exported PDFs.
Using the newly added SaveFormat.Xml
enum member, you can seamlessly convert Presentations to the XML file format. Please check out the following C# code example to know more:
using (Presentation pres = new Presentation())
{
pres.Save("pres.xml", SaveFormat.Xml);
}
Source*
Introducsing ZIP64 Support
The PptxOptions.Zip64Mode
property introduced in this release lets you determine whether the PowerPoint presentation is in ZIP64 format. The below-given C# code example explains more.
using (Presentation pres = new Presentation("demo.pptx"))
{
pres.Save("demo-zip64.pptx", SaveFormat.Pptx, new PptxOptions()
{
Zip64Mode = Zip64Mode.Always
});
}
Source*
Rasterize Unsupported Font Styling
We have introduced a new property named PdfOptions.RasterizeUnsupportedFontStyles
in this update. The newly added property helps determine if the unsupported font (bold) styling must be rasterized as a bitmap and saved to a PDF document. The following code sample demonstrates the property usage.
using (Presentation pres = new Presentation())
{
pres.Save("pres.pdf", SaveFormat.Pdf, new PdfOptions
{
RasterizeUnsupportedFontStyles = true
});
}
Source*
Bug Fixes
Several bugs and issues related to text extraction, charts, tables, thumbnails, and more have been addressed in this update to our Excel API.
You can view the list of all new features, enhancements, and bug fixes introduced in this release by visiting Aspose.Email for .NET 24.4 Release Notes.