Class RadPrintWatermark
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadPrintWatermark : ICloneable
Constructors
RadPrintWatermark()
Declaration
public RadPrintWatermark()
Properties
AllPages
Gets or sets a value indicating whether the watermark is printed on all pages.
Declaration
public bool AllPages { get; set; }
Property Value
System.Boolean
|
DrawImage
Gets a value indicating whether there is an image to be printed.
Declaration
public bool DrawImage { get; }
Property Value
System.Boolean
|
DrawInFront
Gets or sets a value indicating whether the watermark is drawn under or over the printed content.
Declaration
public bool DrawInFront { get; set; }
Property Value
System.Boolean
|
DrawText
Gets a value indicating whether there is a text to be printed.
Declaration
public bool DrawText { get; }
Property Value
System.Boolean
|
Font
Gets or sets the font of the text.
Declaration
public Font Font { get; set; }
Property Value
System.Drawing.Font
|
ForeColor
Gets or sets the fore color of the text.
Declaration
public Color ForeColor { get; set; }
Property Value
System.Drawing.Color
|
ImageHOffset
Gets or sets the image horizontal offset.
Declaration
public int ImageHOffset { get; set; }
Property Value
System.Int32
|
ImageOpacity
Gets or sets the image opacity.
Declaration
public byte ImageOpacity { get; set; }
Property Value
System.Byte
|
ImagePath
Gets or sets the path to the image.
Declaration
public string ImagePath { get; set; }
Property Value
System.String
|
ImageTiling
Gets or sets a value indicating whether the image should tiled.
Declaration
public bool ImageTiling { get; set; }
Property Value
System.Boolean
|
ImageVOffset
Gets or sets the image vertical offset.
Declaration
public int ImageVOffset { get; set; }
Property Value
System.Int32
|
PageNumbers
Gets a list of integer values for the string Pages.
Declaration
public List<int> PageNumbers { get; }
Property Value
System.Collections.Generic.List<System.Int32>
|
Pages
Gets or sets a string which indicates on which pages the watermark should be printed.
Declaration
public string Pages { get; set; }
Property Value
System.String
|
Text
Gets or sets the text.
Declaration
public string Text { get; set; }
Property Value
System.String
|
TextAngle
Gets or sets the angle at which the text is rotated.
Declaration
public float TextAngle { get; set; }
Property Value
System.Single
|
TextHOffset
Gets or sets the text horizontal offset.
Declaration
public int TextHOffset { get; set; }
Property Value
System.Int32
|
TextOpacity
Gets or sets the text opacity.
Declaration
public byte TextOpacity { get; set; }
Property Value
System.Byte
|
TextVOffset
Gets or sets the text vertical offset.
Declaration
public int TextVOffset { get; set; }
Property Value
System.Int32
|
Methods
Clone()
Declaration
public object Clone()
Returns
System.Object
|
Implements
ShouldPrintOnPage(Int32)
Checks whether the watermark should be printed on the given page.
Declaration
public bool ShouldPrintOnPage(int pageNumber)
Parameters
System.Int32
pageNumber
The page to check. |
Returns
System.Boolean
True if the watermark should be printed, otherwise false. |