Convert PowerPoint to SWF Flash
Contents
[
Hide
]
The Save method exposed by Presentation class can be used to convert the whole presentation into SWF document. You can also include comments in generated SWF by using SWFOptions class and INotesCommentsLayoutingOptions interface. The following example shows how to convert a presentation into SWF document by using options provided by SWFOptions class.
import aspose.slides as slides
# Instantiate a Presentation object that represents a presentation file
presentation = slides.Presentation("pres.pptx")
swfOptions = slides.export.SwfOptions()
swfOptions.viewer_included = False
swfOptions.notes_comments_layouting.notes_position = slides.export.NotesPositions.BOTTOM_FULL
# Saving presentation and notes pages
presentation.save("SaveAsSwf_out.swf", slides.export.SaveFormat.SWF, swfOptions)
swfOptions.viewer_included = True
presentation.save("SaveNotes_out.swf", slides.export.SaveFormat.SWF, swfOptions)