Aspose.Slides for Python 22.8 Release Notes

KeySummaryCategoryRelated Documentation
SLIDESPYNET-34Use Aspose.Slides for Net 22.8 featuresEnhancement

Public API Changes

Presentation Slide Show Setup Settings support

We implemented support for Presentation Slide Show Settings.

Slide Show Settings

These are the relevant classes and properties:

This Python code shows you how to set the Presented by a speaker parameter for a slide show:

import aspose.slides as slides

with slides.Presentation() as pres:
    pres.slide_show_settings.slide_show_type = slides.PresentedBySpeaker()"pres.pptx", slides.export.SaveFormat.PPTX)

Browsed by individual parameter:

import aspose.slides as slides

with slides.Presentation() as pres:
    browsedByIndividual = slides.BrowsedByIndividual()
    browsedByIndividual.show_scrollbar = True

    pres.slide_show_settings.slide_show_type = browsedByIndividual"pres.pptx", slides.export.SaveFormat.PPTX)

Animation Effect.sound property added

Support for Embedded sound effect has been implemented through the Effect.sound property.

import aspose.slides as slides

with slides.Presentation("demo.pptx") as presentation:
    slide = presentation.slides[0]

    # Gets the effects sequence for the slide
    effectsSequence = slide.timeline.main_sequence

    for effect in effectsSequence:
        if effect.sound == None:

        # Extracts the effect sound in byte array
        audio = effect.sound.binary_data