ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Print functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Forces a body complement block to print while specifying the height of complement block.
This function is used to force the print of a body complement:
  • after the end of break
  • on the last report page
Remark: If this function is not used, the body complement will be printed on each page after the last body block and it will occupy the remaining page height. The body complement is printed only if a body block is printed on the page.
Linux Caution: A specific configuration is required to use this function in Linux. For more details, see Print in Linux.
Example
// Before Printing code of document header
iPrintBodyComplement(iPageHeightLeft() - MySelf.Height)
Syntax
iPrintBodyComplement(<Height of complement block>)
<Height of complement block>: Real
Height of block during the print, expressed in millimeters. If this height is greater than the space left on the page, the body complement will be printed on 2 pages.
Remarks
iPrintBodyComplement could be replaced with the print of a block (iPrintBlock) resized by the Height property.
Business / UI classification: Neutral code
Component: wd300etat.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help