Class
TextWatermarkSettings

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:

cs-api-definition
public class TextWatermarkSettings : WatermarkSettingsBase

Inheritance: objectWatermarkSettingsBaseTextWatermarkSettings

Inherited Members WatermarkSettingsBase.WatermarkWatermarkSettingsBase.WidthWatermarkSettingsBase.HeightWatermarkSettingsBase.Angle

Constructors

TextWatermarkSettings()

Creates a new text watermark configuration with default font, color, and full opacity.

Declaration

cs-api-definition
public TextWatermarkSettings()

Properties

FontFamily

Gets or sets the font family used to render the watermark text.

Declaration

cs-api-definition
public FontFamily FontFamily { get; set; }

Property Value

FontFamily

The font family.

ForegroundColor

Gets or sets the text color before opacity is applied.

Declaration

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

Property Value

Color

The the foreground color.

Opacity

Gets or sets the text transparency level, where 0 is fully transparent and 1 is fully opaque.

Declaration

cs-api-definition
public double Opacity { get; set; }

Property Value

double

The opacity is a double number between 0 and 1.

Text

Gets or sets the text content displayed in the watermark.

Declaration

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

Property Value

string

The text.

Methods

Clone()

Creates a deep copy of these settings with all property values preserved.

Declaration

cs-api-definition
public TextWatermarkSettings Clone()

Returns

TextWatermarkSettings

A clone of the settings.