Some methods and properties of this object are not available on the Web Verification Station for checking rules locally. The methods and properties that are not supported are marked with an asterisk (*).
Methods
The following methods require permissions for changing the batch structure. They can be called only from the batch processing script.Create a document from a page
TheCreateDocumentFromPage method takes a page from the document and creates a new document from that page. Specify the index for the new document in the targetPosition parameter. The index must be a number between 0 and N, where N is the total number of documents in the batch.
When the method is called:
- The documents with indexes from 0 to
targetPosition - 1remain in their original positions. - The documents with indexes from
targetPositionto N move one position forward. - The new document is placed in the vacated
targetPosition.
Create a page from an image
TheCreatePageFromImage method creates a page from an IPictureObject object and returns the created page:
- If a target document is specified, the page is added to this document. To create a one-page document, specify
nullas the target document. - If a position is specified, the page is added to the specified position of the document (when a target document is specified). Otherwise, a one-page document is added to the specified position of the batch (when
nullis specified as the target document). The initial position corresponds to0, and the end of the document or batch corresponds to-1. - If the
sourceInfoparameter is specified, it is written into the information about the page source. Otherwise, information about the page source is received from IPictureObject.
