PdfContent

PdfContent class

Represents a pdf document where a watermark can be placed.

public class PdfContent : Content

Properties

Name Description
Attachments { get; } Gets the collection of all attachments of this PdfContent.
PageMarginType { get; set; } Gets or sets pdf page margins to be used during watermark adding.
Pages { get; } Gets the collection of all pages of this PdfContent.

Methods

Name Description
Decrypt() Decrypts the content.
Dispose() Disposes the current instance.
Encrypt(string) Encrypts the document using the same password as user password and owner password.
Encrypt(string, string, PdfPermissions, PdfCryptoAlgorithm) Encrypts the content.
FindImages() Finds all images in the content. The search is conducted in the objects specified in SearchableObjects.
FindImages(ImageSearchCriteria) Finds images according to the specified search criteria. The search is conducted in the objects specified in SearchableObjects.
Rasterize(int, int, PdfImageConversionFormat) Converts all content pages into images.
Search() Finds all possible watermarks in the content. The search is conducted in the objects specified in SearchableObjects.
Search(SearchCriteria) Finds possible watermarks according to specified search criteria. The search is conducted in the objects specified in SearchableObjects.

Remarks

Learn more:

See Also