Class
Watermark

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:

cs-api-definition
public class Watermark

Inheritance: objectWatermark

Constructors

Watermark(ImageWatermarkSettings)

Creates a new image watermark with the specified configuration.

Declaration

cs-api-definition
public Watermark(ImageWatermarkSettings imageWatermarkSettings)

Parameters

imageWatermarkSettings

ImageWatermarkSettings

The image watermark settings.

Watermark(TextWatermarkSettings)

Creates a new text watermark with the specified configuration.

Declaration

cs-api-definition
public Watermark(TextWatermarkSettings textWatermarkSettings)

Parameters

textWatermarkSettings

TextWatermarkSettings

The text watermark settings.

Properties

Document

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

Declaration

cs-api-definition
public RadFlowDocument Document { get; }

Property Value

RadFlowDocument

The document.

ImageSettings

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

Declaration

cs-api-definition
public ImageWatermarkSettings ImageSettings { get; }

Property Value

ImageWatermarkSettings

The image settings.

TextSettings

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

Declaration

cs-api-definition
public TextWatermarkSettings TextSettings { get; }

Property Value

TextWatermarkSettings

The text settings.

WatermarkType

Gets whether this watermark contains image or text content.

Declaration

cs-api-definition
public WatermarkType WatermarkType { get; }

Property Value

WatermarkType

The type.

Methods

Clone()

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

Declaration

cs-api-definition
public Watermark Clone()

Returns

Watermark

A clone of the watermark.