ClassTextWatermarkSettings
Configures text content, font, color, and opacity for a text Watermark.
Definition
Namespace:Telerik.Windows.Documents.Flow.Model.Watermarks
Assembly:Telerik.Windows.Documents.Flow.dll
Syntax:
public class TextWatermarkSettings : WatermarkSettingsBase
Inheritance: objectWatermarkSettingsBaseTextWatermarkSettings
Inherited Members
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
The font family.
ForegroundColor
Gets or sets the text color before opacity is applied.
Declaration
public Color ForegroundColor { get; set; }
Property Value
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
The opacity is a double number between 0 and 1.
Methods
Clone()
Creates a deep copy of these settings with all property values preserved.
Declaration
public TextWatermarkSettings Clone()
Returns
A clone of the settings.