Image
Create an image with name, type, and size in the active report session.
Syntax
img=Image(name=<'name'>,source=<'file'>,path=<'path'>)
Arguments
- caption
- The image caption.
- name
- The name of the image.
- path
- The path to the image if the source is of type
file
. - session
- Returns the current session object.
- setAttributes()
- Set multiple attributes simultaneously.
- source
- Type = string
- type
- The image file type.
Example
image = Image()
image4.path = 'D:/temp/demo_image.png'
image4.caption = 'Demo Image'