Class
RadPrintWatermark

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class RadPrintWatermark : ICloneable

Inheritance: objectRadPrintWatermark

Implements: ICloneable

Constructors

RadPrintWatermark()

Declaration

cs-api-definition
public RadPrintWatermark()

Properties

AllPages

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

Declaration

cs-api-definition
[Browsable(true)]
public bool AllPages { get; set; }

Property Value

bool

DrawImage

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

Declaration

cs-api-definition
[Browsable(true)]
public bool DrawImage { get; }

Property Value

bool

DrawInFront

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

Declaration

cs-api-definition
[Browsable(true)]
public bool DrawInFront { get; set; }

Property Value

bool

DrawText

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

Declaration

cs-api-definition
[Browsable(true)]
public bool DrawText { get; }

Property Value

bool

Font

Gets or sets the font of the text.

Declaration

cs-api-definition
[Browsable(true)]
public Font Font { get; set; }

Property Value

Font

ForeColor

Gets or sets the fore color of the text.

Declaration

cs-api-definition
[Browsable(true)]
public Color ForeColor { get; set; }

Property Value

Color

ImageHOffset

Gets or sets the image horizontal offset.

Declaration

cs-api-definition
[Browsable(true)]
public int ImageHOffset { get; set; }

Property Value

int

ImageOpacity

Gets or sets the image opacity.

Declaration

cs-api-definition
[Browsable(true)]
public byte ImageOpacity { get; set; }

Property Value

byte

ImagePath

Gets or sets the path to the image.

Declaration

cs-api-definition
[Browsable(true)]
public string ImagePath { get; set; }

Property Value

string

ImageTiling

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

Declaration

cs-api-definition
[Browsable(true)]
public bool ImageTiling { get; set; }

Property Value

bool

ImageVOffset

Gets or sets the image vertical offset.

Declaration

cs-api-definition
[Browsable(true)]
public int ImageVOffset { get; set; }

Property Value

int

PageNumbers

Gets a list of integer values for the string Pages.

Declaration

cs-api-definition
[Browsable(false)]
public List<int> PageNumbers { get; }

Property Value

List<int>

Pages

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

Declaration

cs-api-definition
[Browsable(true)]
public string Pages { get; set; }

Property Value

string

Text

Gets or sets the text.

Declaration

cs-api-definition
[Browsable(true)]
public string Text { get; set; }

Property Value

string

TextAngle

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

Declaration

cs-api-definition
[Browsable(true)]
public float TextAngle { get; set; }

Property Value

float

TextHOffset

Gets or sets the text horizontal offset.

Declaration

cs-api-definition
[Browsable(true)]
public int TextHOffset { get; set; }

Property Value

int

TextOpacity

Gets or sets the text opacity.

Declaration

cs-api-definition
[Browsable(true)]
public byte TextOpacity { get; set; }

Property Value

byte

TextVOffset

Gets or sets the text vertical offset.

Declaration

cs-api-definition
[Browsable(true)]
public int TextVOffset { get; set; }

Property Value

int

Methods

Clone()

Declaration

cs-api-definition
public object Clone()

Returns

object

Implements ICloneable.Clone()

ShouldPrintOnPage(int)

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

Declaration

cs-api-definition
public bool ShouldPrintOnPage(int pageNumber)

Parameters

pageNumber

int

The page to check.

Returns

bool

True if the watermark should be printed, otherwise false.