Skip to main content
Pages can be moved during the document assembly as well.

What it does

The handler of this event can be used if you need to do some manipulation on the new document based on the source documents, for example, to save the merged registration parameters. If one document is fully embedded into another one, then in the Pages array its pages will go in succession and in the same order as they go in the target document.
After merging pages the layout of the target document can change.

When it is launched

The script is launched prior to moving pages from one document to another.

Parameters

NameTypeAccessDescription
BatchIBatchInternal* fields of batch documents and pages are unavailableThe batch
InsertionPositionintRead-onlyThe position in the document where pages are inserted
PagesIPagesRead-onlyThe array of pages being moved
TargetDocumentIDocumentRead/writeThe target document pages are moved into
* - The internal field requires loading the object into memory.