Base class from which TextWatermark and ImageWatermark are derived.

public abstract class Watermark : TaggablePageElement, IAnnotation, ISerializable
Public MustInherit Class Watermark
    Inherits TaggablePageElement
    Implements IAnnotation, ISerializable

Inheritance: ObjectPageElementTaggablePageElementWatermark

Implements: IAnnotation, ISerializable

Derived: ImageWatermark, TextWatermark

Licensing Info

This class is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:


AlternateNameGets or sets the Name of the WaterMark.
AngleGets or sets the heights of the angle of the WaterMark.
IDGets or sets the ID of the page element.
(Inherited from PageElement)
IgnoreMarginsGets or sets ignore margin property. Setting false will consider the margin while placing the page element based on the RelativeTo property.
(Inherited from PageElement)
NameGets or sets the Name of the WaterMark.
OpacityGets or sets the opacity of the WaterMark.
PositionGets or sets the Position of the WaterMark.
RelativeToGets and sets placement of the page element on the page.
(Inherited from PageElement)
TagGets or sets the tag of the taggable element.
(Inherited from TaggablePageElement)
TagOrderGets or sets the tag order of the taggable element.
(Inherited from TaggablePageElement)
XOffsetGets or sets the Horizontal Distance of the WaterMark.
YOffsetGets or sets the Vertical Distance of the WaterMark.


Draw(PageWriter)Draws the watermark to the given PageWriter object.
DrawAnnotation(DocumentWriter)Draws the textWatermark to the given DocumentWriter object.
Equals(Object)Determines whether the specified Object is equal to the current Object .
(Inherited from Object)
GetHashCode()Serves as a hash function for a particular type.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
ToString()Returns a String that represents the current Object .
(Inherited from Object)

See Also


In this topic