SlideTable

Create a slide table in the active report session.

Syntax

sltab=SlideTable(slide)

Arguments

caption
The slide table caption.
Type = string
sltab.caption=<'slide table caption'>
csvFile
The path to the CSV file.
Type = string
sltab.csvFile=<'csv_file'>
height
The slide image height value as a percentage.
Type = double
slideimage.height=<height>
maxColumns
The number of maximum columns where to split; default is 0.
Type = string
sltab.maxColumns(<integer>)
maxRows
The number of maximum rows where to split; default is 0.
Type = integer
sltab.maxRows(<integer>)
name
The slide table name.
Type = string
sltab.name=<'name'>
position
The slide table position as a list [<x>,<y>,<width>,<height>].
Type = list
sltab.position=[5,10,20,50]
session
The active report session. (Read only)
Type = object
sesObj = sltab.session
setAttributes()
Set multiple attributes simultaneously.
Type = method
sltab.setAttributes(name=<name>,csvFile=<'csv_file'>)
split
Turn auto split on/off.
Type = Boolean
sltab.split=<True/False>
splitBy
Split by rows/columns.
Type = string
sltab.splitBy=<'rows'/'columns'>
width
The slide table width value as a percentage.
Type = double
sltab.width=<width>
x
The slide table x value of the upper left corner as a percentage.
Type = double
sltab.x=<x>
y
The slide table y value of the upper left corner as a percentage.
Type = double
sltab.y=<y>

Example

table = Table()
table.caption = 'Table caption'
table.csvFile = path5
table.split=True
table.maxColumns=5
table.maxRows=9
table.stretch