Class TextWatermark
Represents a text watermark on a printable page.
Inherited Members
Namespace: Telerik.Reporting.Drawing
Assembly: Telerik.Reporting.dll
Syntax
public sealed class TextWatermark : Watermark, IExpressionContainer, ICloneable
Constructors
TextWatermark()
Declaration
public TextWatermark()
Properties
Color
Gets or sets the color of the watermark text.
Declaration
public Color Color { get; set; }
Property Value
System. A System. |
Font
Gets the font settings of the watermark text.
Declaration
public Font Font { get; }
Property Value
Orientation
Gets or sets the orientation of the watermark text on the printable page.
Declaration
public WatermarkOrientation Orientation { get; set; }
Property Value
Watermark A Watermark |
Text
Gets or sets the text of the watermark to be printed on the page.
Declaration
public string Text { get; set; }
Property Value
System. A System. |
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:
= If(PageNumber % 2 = 0, "Watermark", Null)
Methods
GetStrings()
Declaration
protected override IEnumerable<string> GetStrings()
Returns
System.
|