addImage()
Add an image to the report.
Usage
addImage( fileName, justify = 'center',
scale = 1, hasCaption = False )
Parameters
- fileName (string)
- Image file name.
- justify (string)
- Image justification. Valid values are flushleft, flushright and center.
- scale (integer)
- Image scale.
- hasCaption (boolean)
- If True leave the justify block open for adding the caption.
Return Value
None
Description
fname = vis.saveImage( width=600, height=400 )
rep.addImage( fname, "center", 1.0 )