PdfPage Class
Represents pdf document page.
Inheritance Hierarchy

Namespace: GroupDocs.Watermark.Pdf
Assembly: GroupDocs.Watermark (in GroupDocs.Watermark.dll) Version: 19.5
Syntax
public class PdfPage : DocumentPart

The PdfPage type exposes the following members.

Properties
  NameDescription
Public propertyAnnotations
Gets the collection of all annotations of this PdfPage.
Public propertyArtifacts
Gets the collection of all artifacts of this PdfPage.
Public propertyHeight
Gets the height of this PdfPage in points.
Public propertyWidth
Gets the width of this PdfPage in points.
Public propertyXObjects
Gets the collection of all XObjects of this PdfPage.
Methods
  NameDescription
Public methodAddAnnotationWatermark(Watermark)
Adds an annotation watermark to this PdfPage. This method assumes that watermark offset and size are measured in points (if they are assigned).
Public methodAddAnnotationWatermark(Watermark, Boolean)
Adds an annotation watermark to this PdfPage. This method assumes that watermark offset and size are measured in points (if they are assigned).
Public methodAddArtifactWatermark
Adds an artifact watermark to this PdfPage. This method assumes that watermark offset and size are measured in points (if they are assigned).
Public methodCode exampleAddWatermark
Adds a watermark to this DocumentPart.
(Inherited from DocumentPart.)
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 methodCode exampleFindImages
Finds all images in the document. The search is conducted in objects specified in SearchableObjects.
(Inherited from DocumentPart.)
Public methodFindImages(ImageSearchCriteria)
Finds images according to specified search criteria. The search is conducted in objects specified in SearchableObjects.
(Inherited from DocumentPart.)
Public methodFindWatermarks
Finds all possible watermarks in the document. The search is conducted in objects specified in SearchableObjects.
(Inherited from DocumentPart.)
Public methodCode exampleFindWatermarks(SearchCriteria)
Finds possible watermarks according to specified search criteria. The search is conducted in objects specified in SearchableObjects.
(Inherited from DocumentPart.)
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 methodRasterize
Converts page content into an image.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also