Slide
Create a slide in the active report session.
Syntax
slide=Slide()
Arguments
- add()
- Add an image, text, or table.
- applySlidePlaceholderList()
- Placeholders from the referenced slide are used.
- layout()
- Slide layout. Setting a new slide layout deletes the existing one.
- name
- The name of the slide.
- presentation
- Type = object (read only)
- setAttributes()
- Set multiple attributes simultaneously.
- titlePosition
- Slide title Position requires 4 positional arguments: x, y, width, and height.
- titleText
- Slide title text.
Example
pres = Presentation()
imagea = Image()
imagea.path = <'patha'>
imagea.caption = 'Image A'
slide = Slide('SlideOneImage', presentation=pres)
slide.layout("One Images Only")
slide.add(imagea,"imga",position="Picture1")