Skip to main content
A newer version of this page is available. .

Watermark Members

A document’s watermark.

Constructors

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

Properties

Name Description
ActualImage For internal use. 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.
Image Gets or sets the PageWatermark‘s picture. Inherited from PageWatermark.
ImageAlign Gets or sets the position of the PageWatermark‘s picture. 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.
PageRange Gets or sets the range of pages which contain a watermark.
ShowBehind Gets or sets a value indicating whether a watermark should be printed behind or in front of the contents of a page. Inherited from PageWatermark.
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.
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.
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.
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.
RestoreFromRegistry(String) Loads a watermark’s settings from the system registry.
RestoreFromStream(Stream) Loads a watermark’s settings from the specified stream.
RestoreFromXml(String) Loads a watermark’s settings from the specified XML file.
SaveToRegistry(String) Saves the current watermark to the registry.
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