PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Example 1: Previewing the report
  • Example 2: Printing a report created with the report editor
  • Example 3: Previewing the entire page
iPreview (Example)
Example 1: Previewing the report
WINDEVReports and QueriesUser code (UMC) The following example is used to display a print preview.
iPreview(i100)
iCreateFont(1, 16, iBold, iRoman)
PrintTitle()
PrintText()
iEndPrinting()
Example 2: Printing a report created with the report editor
WINDEVReports and QueriesUser code (UMC) The following example is used to print a report created with the report editor.
iPreview(i100)
iPrintReport(RPT_Report1)
Example 3: Previewing the entire page
WINDEVReports and QueriesUser code (UMC) This example is used to open a window for configuring the print and to display the print preview.
IF iConfigure() = True THEN
iPreview(iPage, "List of functions")
ProcessPrint()
iEndPrinting()
ELSE
Info("Cancel the print")
END
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment