PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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" sub-directory of the "_WEB" directory
iDirImageHTML(iDirectoryWeb, "Temp")

// Print in HTML format
iDestination(iHTML)

// Printing the report
iPrintReport(RPT_MyReport)

// Open the generated HTML file in the browser
FileDisplay(iLastFile())
Syntax
iDirImageHTML(<Directory> [, <Sub-directory>])
<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.
The images generated in this directory can be displayed by FileDisplay.
<Sub-directory>: Optional character string (with quotes)
Sub-directory relative to the directory specified in <Directory>. If no sub-directory is specified, the images will be generated in the directory specified in <Directory>.
Components
WEBDEV - Server code wd230prn.dll
Minimum required version
  • Version 10
Comments
Click [Add] to post a comment