ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Print functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Used to select the directory in which the images must be generated during a print in HTML format.
Example
// Generate the images in the "Temp" subdirectory of the "_WEB" directory
iDirImageHTML(iDirectoryWeb, "Temp")

// Print to HTML
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:
iDirectoryHTMLDirectory 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 subdirectory is specified, the images will be generated in the directory specified in <Directory>.
Component: wd300prn.dll
Minimum version required
  • Version 10
Comments
Click [Add] to post a comment

Last update: 09/10/2024

Send a report | Local help