Skip to main content

Watermark Members

A document’s watermark.

Constructors

Name Description
Watermark() Initializes a new instance of the Watermark class.

Fields

Name
Empty static

Properties

Name Description
ActualImageSource Inherited from PageWatermark.
Font Gets or sets the font of the PageWatermark. Inherited from PageWatermark.
ForeColor Gets or sets the foreground color of the PageWatermark‘s text. Inherited from PageWatermark.
Id Specifies the unique identifier of a watermark
Image For internal use. Inherited from PageWatermark.
ImageAlign Gets or sets the position of the PageWatermark‘s picture. Inherited from PageWatermark.
ImageAlignment Gets or sets the position of the PageWatermark‘s picture. Use this property in non-Windows environments. Inherited from PageWatermark.
ImagePosition Specifies whether a picture watermark should be printed behind or in front of page content. Inherited from PageWatermark.
ImageSource Gets or sets the image of the PageWatermark. Inherited from PageWatermark.
ImageTiling Gets or sets a value indicating if a PageWatermark‘s picture should be tiled. Inherited from PageWatermark.
ImageTransparency Gets or sets the transparency of the watermark’s image. Inherited from PageWatermark.
ImageViewMode Gets or sets the mode in which a picture PageWatermark is displayed. Inherited from PageWatermark.
IsEmpty Inherited from PageWatermark.
PageRange Gets or sets the range of pages which contain a watermark.
Text Gets or sets a PageWatermark‘s text. Inherited from PageWatermark.
TextDirection Gets or sets the incline of the PageWatermark‘s text. Inherited from PageWatermark.
TextPosition Specifies whether a text watermark should be printed behind or in front of page content. Inherited from PageWatermark.
TextTransparency Gets or sets the transparency of the PageWatermark‘s text. Inherited from PageWatermark.

Methods

Name Description
CopyFrom(Watermark) Duplicates the properties of the specified watermark object into the current instance of the Watermark class.
CreateDefaultFont() static Inherited from PageWatermark.
Dispose() Disposes of the PageWatermark object. Inherited from PageWatermark.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current Watermark instance.
GetHashCode() Gets the hash code (a number) that corresponds to the value of the current Watermark object.
GetType() Gets the Type of the current instance. Inherited from Object.
IsImageEmpty(PageWatermark) static Inherited from PageWatermark.
IsTextEmpty(PageWatermark) static Inherited from PageWatermark.
IsWatermarkEmpty(PageWatermark) static Inherited from PageWatermark.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
NeedDraw(Int32, Int32) For internal use.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RestoreFromStream(Stream) Loads a watermark’s settings from the specified stream.
RestoreFromXml(String) Loads a watermark’s settings from the specified XML file.
SaveToStream(Stream) Saves the current watermark to the specified stream.
SaveToXml(String) Saves the current watermark to an XML file.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also