ClassWatermarkTextSettings
Contains settings for text watermark.
Definition
Namespace:Telerik.Windows.Documents.Model
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class WatermarkTextSettings : INotifyPropertyChanged
Inheritance: objectWatermarkTextSettings
Implements:
Constructors
WatermarkTextSettings()
Initializes a new instance of the WatermarkTextSettings class.
Declaration
public WatermarkTextSettings()
WatermarkTextSettings(string)
Initializes a new instance of the WatermarkTextSettings class.
Declaration
public WatermarkTextSettings(string textToShow)
Parameters
textToShow
The text to be used as a watermark.
Properties
FontFamily
Gets or sets the font family.
Declaration
[XamlSerializable]
public FontFamily FontFamily { get; set; }
Property Value
FontFamily
The font family.
FontSize
Gets or sets the size of the font.
Declaration
[XamlSerializable(84)]
public double FontSize { get; set; }
Property Value
The size of the font.
ForegroundColor
Gets or sets the color of the foreground.
Declaration
[XamlSerializable]
public Color ForegroundColor { get; set; }
Property Value
Color
The color of the foreground.
Opacity
Gets or sets the opacity.
Declaration
[XamlSerializable(false)]
public double Opacity { get; set; }
Property Value
The opacity.
RotateAngle
Gets or sets the rotation angle.
Declaration
[XamlSerializable(0)]
public double RotateAngle { get; set; }
Property Value
The rotate angle.
Methods
CreateDeepCopy()
Creates a deep copy of this object.
Declaration
public WatermarkTextSettings CreateDeepCopy()
Returns
The copy.
Events
PropertyChanged
Occurs after a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements