SlideImage

Create a slide image in an existing slide.

Syntax

slideimage=SlideImage(slide)

Arguments

caption
The image caption.
Type = string
slideimage.caption = <'image_caption>
height
The slide image height value as a percentage.
Type = double
slideimage.height=<height>
name
The image name.
Type = string
slideimage.name=<'name'>
path
The file path to the slide image.
Type = string
slideimage.path=<'file_path'>
position
The slide image position as a list [<x>,<y>,<width>,<height>].
Type = list
slideimage.position=[5,10,20,50]
session
The report session where the slide image is located (read only).
Type = object
sesObj = slideimage.session
setAttributes()
Set multiple attributes simultaneously.
Type = method
slideimage.setAttributes(name=<name>, session='ReportSession1')
source
The slide image source file. Only the type file is supported in version 2023.
Type = string
slideimage.source=<'file'>
type
The slide image type.
Type = string
imageType = slideimage.type
width
The slide image width value as a percentage
Type = double
slideimage.width=<width>
x
The slide image x value of the upper left corner as a percentage.
Type = double
slideimage.x=<x>
y
The slide image y value of the upper left corner as a percentage.
Type = double
slideimage.y=<y>

Example

slide_image = SlideImage(slide=<slide>, image=<image1>, position=[50, 13, 10, 21], name='SlideImage1')
slide_image.caption='Image 1'