PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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
The BackgroundImagePrinted is used to:
  • Determine if the background image of a report (form or other) should be printed.
  • Print (or not) the background image of a report.
Remark: This property is saved by page: this allows you to define different settings for each printed page.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Example
MyReport.BackgroundImage = PDFExtractPage("form.pdf", 2)
MyReport.BackgroundImagePrinted = True
Syntax

Determining if the background image of a report (form or other) should be printed Hide the details

<Result> = <Report used>.BackgroundImagePrinted
<Result>: Boolean
  • True if the background image must be printed,
  • False otherwise.
<Report used>: Report name
Name of the report used.

Print (or not) the background image of a report Hide the details

<Report used>.BackgroundImagePrinted = <Image print>
<Report used>: Report name
Name of the report used.
<Image print>: Boolean
  • True if the background image must be printed,
  • False if the background image must not be printed.
The new settings will be taken into account from the next page break.
Remarks
  • The BackgroundImagePrinted property is saved by page: this allows you to define different settings for each printed page.
  • If the settings are modified with the BackgroundImagePrinted property, the new settings will be taken into account from the next page break.
  • This property is available for all types of reports.
  • This property affects the background image of form reports or the one specified by the BackgroundImage property.
  • The management of margins specified in the "Background" tab of the report description ("Ignore the physical margins of the printer") is taken into account.
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment