Skip to main content
A newer version of this page is available. .

Add Watermarks to a Report

  • 2 minutes to read

This tutorial describes how to add watermarks to a report and use preprinted forms.

add-a-watermark-to-a-report-6

Add a Watermark to a Report

To add a watermark to a report, do the following.

  1. Click the report’s smart tag, and in the invoked actions list, click the ellipsis button for the Watermark property.

    add-a-watermark-to-a-report-0

  2. In the invoked Watermark dialog, select either the Text Watermark or Picture Watermark tab, depending on the type of watermark you wish to add.

    For a text watermark, specify the text, direction and font options.

    add-a-watermark-to-a-report-1

    For a picture watermark, you need to specify an image. To do this, click the ellipsis button for the Load image option.

    add-a-watermark-to-a-report-2

    In the invoked Select Picture dialog, select the file containing the image that you wish to use as a watermark and click Open. Next, specify the sizing and alignment options for the picture.

    add-a-watermark-to-a-report-3

    Additionally, for both textual and picture watermarks, you can adjust the transparency, position (in front of or behind the document content), and the page range in which the watermark will be printed.

Supply a Preprinted Form

You can use a picture watermark as a template, to display an image of the preprinted form on the report’s body at design time.

To display a watermark at design time, select the report and set its XtraReport.DrawWatermark property to True in the Properties window.

add-a-watermark-to-a-report-4

The following image illustrates a report with a watermark shown at design-time that contains a template of a preprinted form.

add-a-watermark-to-a-report-5

Place report controls on the report’s body according to the layout of the preprinted form.

add-a-watermark-to-a-report-5a