Class Watermark
Defines an image or text watermark that can be applied to pages within a Section.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model.Watermarks
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public class Watermark
Constructors
Watermark(ImageWatermarkSettings)
Creates a new image watermark with the specified configuration.
Declaration
public Watermark(ImageWatermarkSettings imageWatermarkSettings)
Parameters
|
ImageWatermarkSettings
imageWatermarkSettings
The image watermark settings. |
Watermark(TextWatermarkSettings)
Creates a new text watermark with the specified configuration.
Declaration
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
public RadFlowDocument Document { get; }
Property Value
|
RadFlowDocument
The document. |
ImageSettings
Gets the image configuration; only populated when WatermarkType is Image.
Declaration
public ImageWatermarkSettings ImageSettings { get; }
Property Value
|
ImageWatermarkSettings
The image settings. |
TextSettings
Gets the text configuration; only populated when WatermarkType is Text.
Declaration
public TextWatermarkSettings TextSettings { get; }
Property Value
|
TextWatermarkSettings
The text settings. |
WatermarkType
Gets whether this watermark contains image or text content.
Declaration
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
public Watermark Clone()
Returns
|
Watermark
A clone of the watermark. |