New to Telerik Document ProcessingStart a free 30-day trial

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:

C#
public class TextWatermarkSettings : WatermarkSettingsBase

Inheritance: objectWatermarkSettingsBaseTextWatermarkSettings

Inherited Members WatermarkSettingsBase.WatermarkWatermarkSettingsBase.WidthWatermarkSettingsBase.HeightWatermarkSettingsBase.Angle

Constructors

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

C#
public TextWatermarkSettings()

Methods

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

C#
public TextWatermarkSettings Clone()
Returns:

TextWatermarkSettings

A clone of the settings.

Properties

FontFamily

FontFamily

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

C#
public FontFamily FontFamily { get; set; }
Property Value:

The font family.

Gets or sets the text color before opacity is applied.

C#
public Color ForegroundColor { get; set; }
Property Value:

The the foreground color.

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

C#
public double Opacity { get; set; }
Property Value:

The opacity is a double number between 0 and 1.

Gets or sets the text content displayed in the watermark.

C#
public string Text { get; set; }
Property Value:

The text.