Nutrient Web SDK

ReferenceDocumentOperationsImportDocumentBeforeOperation

Interface ImportDocumentBeforeOperation

Imports the provided document before the specified page index. treatImportedDocumentAsOnePage determines whether it will be treated as a single page for other document operations (e.g. a rotation) provided during the same call. After these operations are applied, the imported pages will behave like regular pages in the document.

Flattening and importing a document where treatImportedDocumentAsOnePage in the same operations batch is not supported and will raise an error.

Importing the same document more than once in the same operations block is not allowed with the UI in order to prevent possible user mistakes, but can be done programmatically.

Interface

Properties

string | Blob | File
(number | [min: number, max: number])[]
"importDocument"