Progress® Telerik® Reporting R3 2017

TextWatermarkText Property

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

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

Syntax

public string Text { get; set; }

Property Value

Type: String
A String started with "=" is interpreted as an expression to calculate the real data, otherwise - literal string. Supports embedded expressions also.

Remarks

The text can be specified either directly as a string literal or indirectly as an expression that is evaluated at runtime for each printable page. If the text is null (Nothing in Visual Basic) or an empty string, or if the specified expression evaluates to null (Nothing in Visual Basic) or an empty string, 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", Null)

See Also