Represents a PDF file source.

Properties

pages?

optional pages: number[];

Optional. The specific pages of the PDF to extract data from, if not provided, all page will be included.


source

source: FileBufferSource | FileUrlSource | FileBase64Source;

The source of the file data.


type

type: "pdf";

The type of the file, which is always “pdf”.