User`s guide

11 Functions – Alphabetical List
11-34
mlreportgen.dom.Document.getImageDirectory
Package: mlreportgen.dom
Get image folder of document
Syntax
imageDirectory = getImageDirectory(path,type)
Description
imageDirectory = getImageDirectory(path,type) gets the image folder of a
document or template package located at the specified path and of the specified type
(Microsoft Word or HTML). This is a static method. Invoke it on the Document class.
Examples
Get the Image Folder
Suppose that the main image folder of an HTML document named MyDoc.htmx resides
in images under the root of the package. To get the path, enter:
mlreportgen.dom.Document.getImageDirectory('MyDoc','html');
ans =
/images
Input Arguments
path — Path of document or template package
string
Path of the document or template package