New to Telerik UI for WinFormsStart a free 30-day trial

Class describing the properties of the watermark of a Header.

Definition

Namespace:Telerik.WinForms.Documents.Model

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class DocumentWatermarkSettings

Inheritance: objectDocumentWatermarkSettings

Constructors

Initializes a new instance of the DocumentWatermarkSettings class.

C#
public DocumentWatermarkSettings()

Properties

Gets or sets the settings for a image watermark.

C#
[XamlCompositePropertySerializable]
public WatermarkImageSettings ImageSettings { get; set; }
Property Value:

The image settings.

Gets or sets the settings for a text watermark.

C#
[XamlCompositePropertySerializable]
public WatermarkTextSettings TextSettings { get; set; }
Property Value:

The text settings.

Gets or sets the type of the watermark.

C#
[XamlSerializable]
public WatermarkType Type { get; set; }
Property Value:

The type.

Methods

Creates a deep copy of the current instance.

C#
public DocumentWatermarkSettings CreateDeepCopy()
Returns:

DocumentWatermarkSettings

The copied element.

Sets a predefined watermark.

C#
public void SetPredefinedWatermark(PredefinedWatermarkType predefinedType)
Parameters:predefinedTypePredefinedWatermarkType

The type of the predefined watermark.

Events

Occurs after changing a property value.

C#
public event PropertyChangedEventHandler PropertyChanged