Class
Watermark

Represents a watermark on a printable page.

Definition

Namespace:Telerik.Reporting.Drawing

Assembly:Telerik.Reporting.dll

Syntax:

cs-api-definition
[TypeConverter(typeof(ExpandableObjectConverter))]
public abstract class Watermark : ReportObject

Inheritance: objectReportObjectWatermark

Derived Classes: PictureWatermarkTextWatermark

Inherited Members ReportObject.ToString(string[])

Constructors

Watermark()

Internal use only

Declaration

cs-api-definition
protected Watermark()

Watermark(Watermark)

Internal use only

Declaration

cs-api-definition
protected Watermark(Watermark watermark)

Parameters

watermark

Watermark

Properties

Opacity

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

Declaration

cs-api-definition
public double Opacity { get; set; }

Property Value

double

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.

Position

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

Declaration

cs-api-definition
public WatermarkPosition Position { get; set; }

Property Value

WatermarkPosition

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

PrintOnFirstPage

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

Declaration

cs-api-definition
public bool PrintOnFirstPage { get; set; }

Property Value

bool

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

PrintOnLastPage

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

Declaration

cs-api-definition
public bool PrintOnLastPage { get; set; }

Property Value

bool

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

Methods

GetStrings()

TODO: Add documentation.

Declaration

cs-api-definition
protected abstract IEnumerable<string> GetStrings()

Returns

IEnumerable<string>

ResetOpacityCore()

TODO: Add documentation.

Declaration

cs-api-definition
protected virtual void ResetOpacityCore()

ShouldSerializeOpacityCore()

TODO: Add documentation.

Declaration

cs-api-definition
protected virtual bool ShouldSerializeOpacityCore()

Returns

bool