Watermark Class

Represents class to work with document watermark.

ExpandedInheritance Hierarchy

SystemObject
  Aspose.WordsWatermark

Namespace:  Aspose.Words
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.11.0

ExpandedSyntax

public sealed class Watermark

The Watermark type exposes the following members.

ExpandedProperties

  NameDescription
Public propertyType
Gets the watermark type.

ExpandedMethods

  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodCode exampleRemove
Removes the watermark.
Public methodSetImage(Image)
Adds Image watermark into the document.
Public methodCode exampleSetImage(Image, ImageWatermarkOptions)
Adds Image watermark into the document.
Public methodCode exampleSetText(String)
Adds Text watermark into the document.
Public methodCode exampleSetText(String, TextWatermarkOptions)
Adds Text watermark into the document.
Public methodToString (Inherited from Object.)

ExpandedSee Also