ClassWatermark
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:
public class Watermark
Inheritance: objectWatermark
Constructors
Watermark(ImageWatermarkSettings)
Creates a new image watermark with the specified configuration.
Declaration
public Watermark(ImageWatermarkSettings imageWatermarkSettings)
Parameters
imageWatermarkSettings
The image watermark settings.
Watermark(TextWatermarkSettings)
Creates a new text watermark with the specified configuration.
Declaration
public Watermark(TextWatermarkSettings textWatermarkSettings)
Parameters
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
The document.
ImageSettings
Gets the image configuration; only populated when WatermarkType is Image.
Declaration
public ImageWatermarkSettings ImageSettings { get; }
Property Value
The image settings.
TextSettings
Gets the text configuration; only populated when WatermarkType is Text.
Declaration
public TextWatermarkSettings TextSettings { get; }
Property Value
The text settings.
WatermarkType
Gets whether this watermark contains image or text content.
Declaration
public WatermarkType WatermarkType { get; }
Property Value
The type.