New to Telerik Document ProcessingStart a free 30-day trial

Defines an image or text watermark that can be applied to pages within a Section.

Definition

Namespace:Telerik.Windows.Documents.Flow.Model.Watermarks

Assembly:Telerik.Windows.Documents.Flow.dll

Syntax:

C#
public class Watermark

Inheritance: objectWatermark

Constructors

Creates a new image watermark with the specified configuration.

C#
public Watermark(ImageWatermarkSettings imageWatermarkSettings)
Parameters:imageWatermarkSettingsImageWatermarkSettings

The image watermark settings.

Creates a new text watermark with the specified configuration.

C#
public Watermark(TextWatermarkSettings textWatermarkSettings)
Parameters:textWatermarkSettingsTextWatermarkSettings

The text watermark settings.

Methods

Creates a deep copy of this watermark that is not associated with any document.

C#
public Watermark Clone()
Returns:

Watermark

A clone of the watermark.

Properties

Gets the document that owns this watermark, or null if not yet added to a document.

C#
public RadFlowDocument Document { get; }
Property Value:

The document.

Gets the image configuration; only populated when WatermarkType is Image.

C#
public ImageWatermarkSettings ImageSettings { get; }
Property Value:

The image settings.

Gets the text configuration; only populated when WatermarkType is Text.

C#
public TextWatermarkSettings TextSettings { get; }
Property Value:

The text settings.

Gets whether this watermark contains image or text content.

C#
public WatermarkType WatermarkType { get; }
Property Value:

The type.