Presentation
Create or save a presentation in the active report session.
Syntax
pres=Presentation()
Arguments
- name
- The name of the presentation.
- resolution
- The presentation default resolution.
- savePDF
- The presentation default resolution.
- savePPTX
- The presentation default resolution.
- session
- The active session.
- setAttributes()
- Set multiple attributes simultaneously.
- size
- The active session.
- template
- The presentation template.
Example
templatefile = os.path.join(src_path, "data", "pptTemplate.pptx")
outfile = os.path.join(os.path.expanduser("~"), "Documents", "alllayout.pptx").replace("\\","/")
pres = Presentation()
pres.template=templatefile
pres.resolution = 'UHD'
pres.savePPTX(outfile, open=True, mode='append', range='2,5-7')