User`s guide

12 Classes – Alphabetical List
12-170
mlreportgen.dom.Image class
Package: mlreportgen.dom
Create image to be included in report
Description
Create an image to be included in a report.
Construction
imageObj = Image(imagePath) creates an image object containing the image file
specified by imagePath.
The contents of the specified image file are copied into the output document either when
the image object is appended to the document (in document streaming mode) or when
the document is closed. Do not delete the original file before it has been copied into the
document.
Input Arguments
imagePath — Path of image file
string
Path of an image file, specified as a string.
For a Microsoft Word report, you can use these image formats:
.bmp
.emf
.eps
.gif
.jpeg
.jpg