Watermark
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:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Properties
AlternateName | Gets or sets the Name of the WaterMark. |
Angle | Gets or sets the heights of the angle of the WaterMark. |
ID | Gets or sets the ID of the page element. (Inherited from PageElement) |
IgnoreMargins | Gets or sets ignore margin property. Setting false will consider the margin while placing the page element based on the RelativeTo property. (Inherited from PageElement) |
Name | Gets or sets the Name of the WaterMark. |
Opacity | Gets or sets the opacity of the WaterMark. |
Position | Gets or sets the Position of the WaterMark. |
RelativeTo | Gets and sets placement of the page element on the page. (Inherited from PageElement) |
Tag | Gets or sets the tag of the taggable element. (Inherited from TaggablePageElement) |
TagOrder | Gets or sets the tag order of the taggable element. (Inherited from TaggablePageElement) |
XOffset | Gets or sets the Horizontal Distance of the WaterMark. |
YOffset | Gets or sets the Vertical Distance of the WaterMark. |
Methods
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) |