New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class RadPrintWatermark : ICloneable

Inheritance: objectRadPrintWatermark

Implements: ICloneable

Constructors

C#
public RadPrintWatermark()

Properties

Gets or sets a value indicating whether the watermark is printed on all pages.

C#
[Browsable(true)]
public bool AllPages { get; set; }

Gets a value indicating whether there is an image to be printed.

C#
[Browsable(true)]
public bool DrawImage { get; }

Gets or sets a value indicating whether the watermark is drawn under or over the printed content.

C#
[Browsable(true)]
public bool DrawInFront { get; set; }

Gets a value indicating whether there is a text to be printed.

C#
[Browsable(true)]
public bool DrawText { get; }

Gets or sets the font of the text.

C#
[Browsable(true)]
public Font Font { get; set; }

Gets or sets the fore color of the text.

C#
[Browsable(true)]
public Color ForeColor { get; set; }

Gets or sets the image horizontal offset.

C#
[Browsable(true)]
public int ImageHOffset { get; set; }

Gets or sets the image opacity.

C#
[Browsable(true)]
public byte ImageOpacity { get; set; }

Gets or sets the path to the image.

C#
[Browsable(true)]
public string ImagePath { get; set; }

Gets or sets a value indicating whether the image should tiled.

C#
[Browsable(true)]
public bool ImageTiling { get; set; }

Gets or sets the image vertical offset.

C#
[Browsable(true)]
public int ImageVOffset { get; set; }

Gets a list of integer values for the string Pages.

C#
[Browsable(false)]
public List<int> PageNumbers { get; }

Gets or sets a string which indicates on which pages the watermark should be printed.

C#
[Browsable(true)]
public string Pages { get; set; }

Gets or sets the text.

C#
[Browsable(true)]
public string Text { get; set; }

Gets or sets the angle at which the text is rotated.

C#
[Browsable(true)]
public float TextAngle { get; set; }

Gets or sets the text horizontal offset.

C#
[Browsable(true)]
public int TextHOffset { get; set; }

Gets or sets the text opacity.

C#
[Browsable(true)]
public byte TextOpacity { get; set; }

Gets or sets the text vertical offset.

C#
[Browsable(true)]
public int TextVOffset { get; set; }

Methods

C#
public object Clone()
Returns:

object

Implements: ICloneable.Clone()

Checks whether the watermark should be printed on the given page.

C#
public bool ShouldPrintOnPage(int pageNumber)
Parameters:pageNumberint

The page to check.

Returns:

bool

True if the watermark should be printed, otherwise false.