New to Telerik ReportingStart a free 30-day trial

Represents a picture watermark on a printable page.

Definition

Namespace:Telerik.Reporting.Drawing

Assembly:Telerik.Reporting.dll

Syntax:

C#
public class PictureWatermark : Watermark

Inheritance: objectReportObjectWatermarkPictureWatermark

Derived Classes: BackgroundOverlay

Inherited Members Watermark.ShouldSerializeOpacityCore()Watermark.ResetOpacityCore()Watermark.PositionWatermark.OpacityWatermark.PrintOnFirstPageWatermark.PrintOnLastPageReportObject.ToString(string[])...

Constructors

Internal use only

C#
public PictureWatermark()

Internal use only

C#
public PictureWatermark(PictureWatermark watermark)
Parameters:watermarkPictureWatermark

Properties

Image

object

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

C#
[TypeConverter(typeof(SimpleImageConverter))]
public object Image { get; set; }
Property Value:

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.

Gets or sets the sizing mode of the watermark image on the printable page.

C#
public WatermarkSizeMode Sizing { get; set; }
Property Value:

A ImageSizeMode value that specifies the sizing mode of the watermark image on the printable page.

Methods

GetStrings()

IEnumerable<string>

TODO: Add documentation.

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

IEnumerable<string>

Overrides: Watermark.GetStrings()

Internal use only

C#
protected virtual void ResetSizingCore()

Internal use only

C#
protected virtual bool ShouldSerializeSizingCore()
Returns:

bool