Web capture action
Use the Web capture action to perform actions, such as scanning, selecting scanner, importing and deleting pages.
You can associate a Web capture action on any button click and not just depend on the Web capture control toolbar to perform these actions.
The Web capture control supports the following events:
|Document save complete||This event is fired when a scanned or uploaded document is saved.|
|Ingestion started||This event disables the File upload control when you scan or upload a document, because, during scan the folder is locked and does not allow to upload a file.|
|Ingestion completed||This event saves the changes and enables the File upload control when scan or upload is completed and new pages are ingested,|
|Document changed||This event is fired when a Web capture control changes the document structure and deletes or moves a page within the document.|
|Page index changed||This event is fired when the selected page index changes.|
|Control undocked||This event is fired when a document viewer of the Web capture control is undocked (detached).|
|Control docked||This event is fired when a document viewer of the Web capture control is docked.|
On the form modeling bar, click
Actions and click
The New action dialog box is displayed.
- On the Type list, select Web capture.
- Change the default Name (WebCaptureAction1) to something meaningful.
- Optional. Enter a Description for the action.
- Optional. Configure a unique action for each language separately. See Configure multilingual actions for a form or control for more information.
- On the Web capture list, select the capture control as needed.
Actions list, select an action. See the following table for a list of
Allows you to automatically save the data.
Allows you to choose files for import into a new document.
Add page(s) from file
Allows you to choose files that need to be added to the currently displayed document.
Displays the Select scanner dialog box where you can select the scanner.
Scans images from the scanner and adds them to the new document.
Add page(s) from scanner
Scans images from the scanner and adds them to the currently displayed document.
Scrolls the viewer to the previous page.
Scrolls the viewer to the next page.
Deletes the currently selected page.
Move page up
Moves the currently selected page up.
Move page down
Moves the currently selected page down.
Constricts the viewer.
Magnifies the viewer.
Displays the image in its real size.
Fits the entire image to the viewer.
Fit to width
Fits the image to the width of the viewer.
Allows you to draw highlight annotation.
Allows you to draw a line annotation.
Allows you to draw a freehand annotation.
Allows you to draw a rectangle annotation.
Allows you to draw a text annotation.
Allows you to undock (detach) the image or document viewer from the main form, and move it to a separate browser window so that the image can be displayed on a second monitor.
Allows you to select an area to mask on the image.
Allows you to permanently alter the image, so that you are able to remove sensitive information that should not reside in your database.The Import, Add page(s) from file, Select scanner, Scan, Add page(s) from scanner and all the Draw actions are interactive, therefore, we recommend that you do not use them in combination with other custom form actions.
The newly created action is added to the table.
- Click Add.
- Associate the action with the control to trigger this action. See Configure actions for form control events. Alternatively to call this action for a form event, associate the action with the form. See Associate an action with a form.