Used to select the directory in which the images must be generated during a print in HTML format.
// Generate the images in the "Temp" sub-directory of the "_WEB" directory
iDirImageHTML(iDirectoryWeb, "Temp")
// Print in HTML format
iDestination(iHTML)
// Print the report
iPrintReport(RPT_MyReport)
// Open the generated HTML file in the browser
FileDisplay(iLastFile())
Syntax
iDirImageHTML(<Directory> [, <Subdirectory>])
<Directory>: Integer constant
Directory in which the images must be generated when printing in HTML format: | |
iDirectoryHTML | Directory where the HTML file is generated. This directory is selected by iDestination. The images generated in this directory cannot be displayed by FileDisplay. |
iDirectoryWeb | "<MyProject>_WEB" directory of site. This directory must be accessible in read/write mode. The images generated in this directory can be displayed using FileDisplay. |
<Subdirectory>: Optional character string
Subdirectory relative to the directory specified in <Directory>. If no sub-directory is specified, the images will be generated in the directory specified in <Directory>.