Slide

Create a slide in the active report session.

Syntax

slide=Slide()

Arguments

add()
Add an image, text, or table.
Type = method
slimg= slide.add(<image/text/table>,name=<'name'>)
applySlidePlaceholderList()
Placeholders from the referenced slide are used.
Match by ID if it exists in both slides, no placeholder type check.
Type = method
slide. applySlidePlaceholderList (<slide_id>)
layout()
Slide layout. Setting a new slide layout deletes the existing one.
Type = method
slide.layout(<'slide_layout_name'>
name
The name of the slide.
Type = string
slide.name=<'name'>
presentation
Type = object (read only)
pres=slide.presentation
setAttributes()
Set multiple attributes simultaneously.
Type = method
slide.setAttributes(name=<'name'>,presentation='Presentation1')
titlePosition
Slide title Position requires 4 positional arguments: x, y, width, and height.
Type = double
slide.titlePosition(x, y, width, height)
titleText
Slide title text.
Type = string
slide.titleText(<'Slide Title'>)

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")