Class
WatermarkTextSettings

Contains settings for text watermark.

Definition

Namespace:Telerik.Windows.Documents.Model

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class WatermarkTextSettings : INotifyPropertyChanged

Inheritance: objectWatermarkTextSettings

Implements: INotifyPropertyChanged

Constructors

WatermarkTextSettings()

Initializes a new instance of the WatermarkTextSettings class.

Declaration

cs-api-definition
public WatermarkTextSettings()

WatermarkTextSettings(string)

Initializes a new instance of the WatermarkTextSettings class.

Declaration

cs-api-definition
public WatermarkTextSettings(string textToShow)

Parameters

textToShow

string

The text to be used as a watermark.

Properties

FontFamily

Gets or sets the font family.

Declaration

cs-api-definition
[XamlSerializable]
public FontFamily FontFamily { get; set; }

Property Value

FontFamily

The font family.

FontSize

Gets or sets the size of the font.

Declaration

cs-api-definition
[XamlSerializable(84)]
public double FontSize { get; set; }

Property Value

double

The size of the font.

ForegroundColor

Gets or sets the color of the foreground.

Declaration

cs-api-definition
[XamlSerializable]
public Color ForegroundColor { get; set; }

Property Value

Color

The color of the foreground.

Opacity

Gets or sets the opacity.

Declaration

cs-api-definition
[XamlSerializable(false)]
public double Opacity { get; set; }

Property Value

double

The opacity.

RotateAngle

Gets or sets the rotation angle.

Declaration

cs-api-definition
[XamlSerializable(0)]
public double RotateAngle { get; set; }

Property Value

double

The rotate angle.

Text

Gets or sets the text.

Declaration

cs-api-definition
[XamlSerializable]
public string Text { get; set; }

Property Value

string

The text.

Methods

CreateDeepCopy()

Creates a deep copy of this object.

Declaration

cs-api-definition
public WatermarkTextSettings CreateDeepCopy()

Returns

WatermarkTextSettings

The copy.

Events

PropertyChanged

Occurs after a property value changes.

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged