What it does
Represents the batch.Methods
Definition | Description |
|---|---|
Deletes recognition results for the document. | |
CreateDocumentFromPage( targetPosition : int, page : IPage ): IDocument * | Takes a page from the document and creates a new document from that page. In the targetPosition parameter, specify an index for the new document in the batch. The index must be a number between 0 and N, N being the total number of documents in the batch. When the CreateDocumentFromPage method is called:
Note: If the document becomes empty after the page is removed, it will be deleted. ExampleAn example of a script for processing the first document: |
CreatePageFromImage( page : IPictureObject, [optional] target : IDocument, [optional] position : int, [optional] sourceInfo : string ) : IPage * | Creates a page from the IPictureObject object and returns the created page:
|
Deletes the document. | |
Deletes the page. | |
Moves the document to the specified position in the batch. | |
MovePage( source : IDocument, target : IDocument, sourcePageIndex : int, int targetPageIndex : int ) * | Moves the page with the sourcePageIndex index from the source document to the targetPageIndex position in the target document. |
Properties
Name | Type | Access | Description |
|---|---|---|---|
AsBatchItem * | Read-only | Converts the batch into an IBatchItem object. | |
Attachments | Read-only | User attachments. | |
BatchTypeName | string | Read-only | The name of the batch type. |
Comment | string | Read/write | The comment. |
CreatedBy | Read-only | The author of the newly created batch. For the Standalone version of FC, returns null. | |
CreationDate | DateTime | Read-only | The time when the batch was created. |
Documents | Read-only | Documents the batch consists of | |
Id | int | Read-only | The batch identifier (unique within the project). |
Name | string | Read/write | The name of the batch. |
Priority | Read/write | The priority of the batch. | |
Project | Read-only | The project containing the batch. | |
Properties | Read-only | Named parameters of the batch. | |
DateTime | Read/write | Processing deadline of the batch. | |
SlaStartDate | DateTime | Read-only | The time when processing of the batch started. |
SlaWarningPeriod * | Int | Read/write | The starting time of the period during which a warning about the task’s approaching deadline will be displayed. Specified in minutes remaining until the deadline. |
StageInfo | Read-only | Returns the IStageInfo object with information about the document’s processing stage. The TaskId and PrincipalId fields are not used. |
