ClassDocumentWatermarkSettings
Class describing the properties of the watermark of a Header.
Definition
Namespace:Telerik.Windows.Documents.Model
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class DocumentWatermarkSettings
Inheritance: objectDocumentWatermarkSettings
Constructors
DocumentWatermarkSettings()
Initializes a new instance of the DocumentWatermarkSettings class.
Declaration
public DocumentWatermarkSettings()
Properties
ImageSettings
Gets or sets the settings for a image watermark.
Declaration
[XamlCompositePropertySerializable]
public WatermarkImageSettings ImageSettings { get; set; }
Property Value
The image settings.
TextSettings
Gets or sets the settings for a text watermark.
Declaration
[XamlCompositePropertySerializable]
public WatermarkTextSettings TextSettings { get; set; }
Property Value
The text settings.
Type
Gets or sets the type of the watermark.
Declaration
[XamlSerializable]
public WatermarkType Type { get; set; }
Property Value
The type.
Methods
CreateDeepCopy()
Creates a deep copy of the current instance.
Declaration
public DocumentWatermarkSettings CreateDeepCopy()
Returns
The copied element.
SetPredefinedWatermark(PredefinedWatermarkType)
Sets a predefined watermark.
Declaration
public void SetPredefinedWatermark(PredefinedWatermarkType predefinedType)
Parameters
predefinedType
The type of the predefined watermark.
Events
PropertyChanged
Occurs after changing a property value.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value