A common requirement in PDF reports is that the file should contain a watermark in the page's background. This watermark often contains the organization's logo.
This is a application-wide setting, that should be done in the report layout object. To add a watermark, follow these steps:
- Open the ReportWWLayout object.
- Add a new printblock, called "Watermark". Add the watermarked image to the printblock, and set the printblock's height to a value higher than the image's height.
|
Watermark printblock |
- In the Source part, add the following code:
|
Report source |
- Force the pattern application, and execute the application to see the results.
|