Watermark Class
Represents a watermark to be added to the document.
Inheritance Hierarchy

Namespace: GroupDocs.Watermark
Assembly: GroupDocs.Watermark (in GroupDocs.Watermark.dll) Version: 19.5
Syntax
public abstract class Watermark

The Watermark type exposes the following members.

Properties
  NameDescription
Public propertyConsiderParentMargins
Gets or sets a value indicating whether the watermark size and coordinates are calculated considering parent margins.
Public propertyHeight
Gets or sets the desired height of this Watermark. Setting this property will also change the value of SizingType property to Absolute.
Public propertyHorizontalAlignment
Gets or sets the horizontal alignment of this Watermark.
Public propertyIsBackground
Gets or sets a value indicating whether the watermark should be placed at background.
Public propertyMargins
Gets or sets the margin settings of this Watermark.
Public propertyOpacity
Gets or sets the opacity of this Watermark.
Public propertyRotateAngle
Gets or sets the rotate angle of this Watermark in degrees.
Public propertyScaleFactor
Gets or sets a value that defines how watermark size depends on parent size.
Public propertySizingType
Gets or sets a value specifying a way watermark should be sized.
Public propertyVerticalAlignment
Gets or sets the vertical alignment of this Watermark.
Public propertyWidth
Gets or sets the desired width of this Watermark. Setting this property will also change the value of SizingType property to Absolute.
Public propertyX
Gets or sets the x-coordinate of this Watermark.
Public propertyY
Gets or sets the y-coordinate of this Watermark.
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also