Class TextWatermarkSettings
Configures text content, font, color, and opacity for a text Watermark.
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model.Watermarks
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public class TextWatermarkSettings : WatermarkSettingsBase
Constructors
TextWatermarkSettings()
Creates a new text watermark configuration with default font, color, and full opacity.
Declaration
public TextWatermarkSettings()
Properties
FontFamily
Gets or sets the font family used to render the watermark text.
Declaration
public FontFamily FontFamily { get; set; }
Property Value
|
System.Windows.Media.FontFamily
The font family. |
ForegroundColor
Gets or sets the text color before opacity is applied.
Declaration
public Color ForegroundColor { get; set; }
Property Value
|
System.Windows.Media.Color
The the foreground color. |
Opacity
Gets or sets the text transparency level, where 0 is fully transparent and 1 is fully opaque.
Declaration
public double Opacity { get; set; }
Property Value
|
System.Double
The opacity is a double number between 0 and 1. |
Text
Gets or sets the text content displayed in the watermark.
Declaration
public string Text { get; set; }
Property Value
|
System.String
The text. |
Methods
Clone()
Creates a deep copy of these settings with all property values preserved.
Declaration
public TextWatermarkSettings Clone()
Returns
|
TextWatermarkSettings
A clone of the settings. |