Progress® Telerik® Reporting R3 2017

PictureWatermarkImage Property

Gets or sets the image of the watermark to be printed on the page.

Namespace:  Telerik.Reporting.Drawing
Assembly:  Telerik.Reporting (in Telerik.Reporting.dll)

Syntax

public Object Image { get; set; }

Property Value

Type: Object
The image of the watermark to be printed on the page.

Remarks

The specified image can be in one of the following supported formats: an object instance inherited from Image; an array of bytes containing binary image data; a local file path or an URL to an external image file. Instead of providing the image directly, it is possible to specify it indirectly as an expression that is evaluated at runtime for each printable page. If the image is null (Nothing in Visual Basic), or if the specified expression evaluates to null (Nothing in Visual Basic), the watermark is not printed on the current page.

Examples

The following expression prints a watermark on every second page:
= IIf(PageNumber % 2 = 0, "Watermark.png", Null)

See Also