New to Telerik ReportingStart a free 30-day trial

Represents a watermark on a printable page.

Definition

Namespace:Telerik.Reporting.Drawing

Assembly:Telerik.Reporting.dll

Syntax:

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public abstract class Watermark : ReportObject

Inheritance: objectReportObjectWatermark

Derived Classes: PictureWatermarkTextWatermark

Inherited Members ReportObject.ToString(string[])

Constructors

Internal use only

C#
protected Watermark()

Internal use only

C#
protected Watermark(Watermark watermark)
Parameters:watermarkWatermark

Properties

Opacity

double

Gets or sets the opacity of the watermark when combining it with the other items on the printable page.

C#
public double Opacity { get; set; }
Property Value:

A value that specifies the opacity of the watermark when combining it with the other items on the printable page.

Remarks:

The value can be specified in the range from 0.0 to 1.0, where 0.0 is completely transparent, while 1.0 is completely opaque. Any other value outside that range is clamped to the closest allowed value.

Gets or sets the position of the watermark relative to the other items on the printable page.

C#
public WatermarkPosition Position { get; set; }
Property Value:

A WatermarkPosition value that specifies the position of the watermark relative to the other items on the printable page.

Gets or sets a value indicating whether to print the watermark on the first printable page of the report.

C#
public bool PrintOnFirstPage { get; set; }
Property Value:

A boolean value indicating whether to print the watermark on the first printable page of the report.

Gets or sets a value indicating whether to print the watermark on the last printable page of the report.

C#
public bool PrintOnLastPage { get; set; }
Property Value:

A boolean value indicating whether to print the watermark on the last printable page of the report.

Methods

GetStrings()

IEnumerable<string>

TODO: Add documentation.

C#
protected abstract IEnumerable<string> GetStrings()
Returns:

IEnumerable<string>

TODO: Add documentation.

C#
protected virtual void ResetOpacityCore()

TODO: Add documentation.

C#
protected virtual bool ShouldSerializeOpacityCore()
Returns:

bool