Supercharge your Python applications on MacOS x64 with the power to create exceptional presentations. Aspose.Slides for Python via .NET 24.7 helps you add innovative features to your apps and simplify your presentation development workflow.
Updated PDF Export
Incorporate other files into your PDFs during export with the latest Python presentation manipulation library version. Here is how to use this feature in Python.
import aspose.slides as slides
with slides.Presentation("pres.pptx") as pres:
options = slides.export.PdfOptions()
options.include_ole_data = True
pres.save("pres.pdf", slides.export.SaveFormat.PDF, options)
Source*
Empowered Security in Apple Mac
Avoid potential security risks by removing VBA projects, OLE objects, or ActiveX controls from your presentations on macOS x64-powered machines, as illustrated in this code example.
import aspose.slides as slides
load_options = slides.LoadOptions()
load_options.delete_embedded_binary_objects = True
with slides.Presentation("malware.ppt", loadOptions) as pres:
pres.save("clean.ppt", slides.export.SaveFormat.PPT)
Source*
Secure Presentations
Handle your password-protected presentations using Aspose.Slides for Python via .NET 24.7 and ascertain secure document access.
Placeholders for Your Layout Slides on MacOS
Adding placeholder shapes to the layout slides has become super convenient! Insert placeholders, such as charts, content, text, pictures, tables, and more into your layout slides. The following code example demonstrates the feature usage.
import aspose.slides as slides
with slides.Presentation() as pres:
# Getting the Blank layout slide
layout = pres.layout_slides.get_by_type(slides.SlideLayoutType.BLANK)
# Getting the placeholder manager of the layout slide
placeholder_manager = layout.placeholder_manager
# Adding different placeholders to the Blank layout slide
placeholder_manager.add_content_placeholder(10, 10, 300, 200)
placeholder_manager.add_vertical_text_placeholder(350, 10, 200, 300)
placeholder_manager.add_chart_placeholder(10, 350, 300, 300)
placeholder_manager.add_table_placeholder(350, 350, 300, 200)
# Adding the new slide with Blank layout
new_slide = pres.slides.add_empty_slide(layout)
pres.save("placeholders.pptx", slides.export.SaveFormat.PPTX)
Source*
You can view the list of all new features, enhancements, and bug fixes introduced in this release by visiting Aspose.Slides for Python via .NET 24.7 Release Notes.