Class: DocumentDescriptor

PSPDFKit.DocumentDescriptor

DocumentDescriptor is a class that provides methods to describe a document for comparison. It encapsulates the file path, optional password, and page indexes for the document.

Constructor

new PSPDFKit.DocumentDescriptor()

The descriptor for a document to be compared.

Example

Create a new DocumentDescriptor

const doc = new DocumentDescriptor({ filePath: "path/to/document.pdf", pageIndexes: [0, 1] });

Extends

  • Immutable.Record