Click or drag to resize

PdfWatermarkAnnotation Class

Represents a watermark annotation
Inheritance Hierarchy
System.Object
  Patagames.Pdf.Net.Wrappers.PdfWrapper
    Patagames.Pdf.Net.Annotations.PdfAnnotation
      Patagames.Pdf.Net.Annotations.PdfWatermarkAnnotation

Namespace: Patagames.Pdf.Net.Annotations
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public class PdfWatermarkAnnotation : PdfAnnotation

The PdfWatermarkAnnotation type exposes the following members.

Constructors
 NameDescription
Public methodPdfWatermarkAnnotation(PdfPage) Creates a new PdfWatermarkAnnotation.
Public methodPdfWatermarkAnnotation(PdfPage, PdfTypeBase) Initializes a new instance of the PdfWatermarkAnnotation class based on the specified dictionary.
Public methodPdfWatermarkAnnotation(PdfPage, PdfImageObject, PdfContentAlignment, Single, Single, Single, Single, Boolean, Boolean) Creates a new PdfWatermarkAnnotation with image object as specified.
Public methodPdfWatermarkAnnotation(PdfPage, PdfTextObject, PdfContentAlignment, Single, Single, Single, Single, Boolean, Boolean) Creates a new PdfWatermarkAnnotation with text object as specified.
Public methodPdfWatermarkAnnotation(PdfPage, IEnumerable<PdfPageObject>, PdfContentAlignment, Single, Single, Single, Single, Boolean, Boolean) Creates a new PdfWatermarkAnnotation with the collection of PdfPageObject.
Top
Remarks

A watermark annotation (PDF 1.6) is used to represent graphics that are expected to be printed at a fixed size and position on a page, regardless of the dimensions of the printed page.

Watermark annotations have no pop-up window or other interactive elements. When displaying a watermark annotation on-screen, viewer applications should use the dimensions of the media box as the page size so that the scroll and zoom behavior is the same as for other annotations.

Note  Note
Since many printing devices have nonprintable margins, it is recommended that such margins be taken into consideration when positioning watermark annotations near the edge of a page.
See Also