Class WatermarkTextSettings
Contains settings for text watermark.
Inheritance
Namespace: Telerik.Windows.Documents.Model
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class WatermarkTextSettings : Object, INotifyPropertyChanged
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
System.String
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
System.Windows.Media.FontFamily
The font family. |
FontSize
Gets or sets the size of the font.
Declaration
[XamlSerializable(84)]
public double FontSize { get; set; }
Property Value
System.Double
The size of the font. |
ForegroundColor
Gets or sets the color of the foreground.
Declaration
[XamlSerializable]
public Color ForegroundColor { get; set; }
Property Value
System.Windows.Media.Color
The color of the foreground. |
Opacity
Gets or sets the opacity.
Declaration
[XamlSerializable(false)]
public double Opacity { get; set; }
Property Value
System.Double
The opacity. |
RotateAngle
Gets or sets the rotation angle.
Declaration
[XamlSerializable(0)]
public double RotateAngle { get; set; }
Property Value
System.Double
The rotate angle. |
Text
Gets or sets the text.
Declaration
[XamlSerializable]
public string Text { get; set; }
Property Value
System.String
The text. |
Methods
CreateDeepCopy()
Creates a deep copy of this object.
Declaration
public WatermarkTextSettings CreateDeepCopy()
Returns
WatermarkTextSettings
The copy. |
Events
PropertyChanged
Occurs after a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler
|