PictureWatermark.Image Property
Progress® Telerik® Reporting R2 2018

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) Version: 12.1.18.816 (12.1.18.816)

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 (relative or absolute) 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 gets evaluated at runtime for each printable page. The result of the evaluation should be of one of the support types enumerated above. 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

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy