Configure buttons for a Web capture control toolbar

By default, all buttons are displayed on a Web capture toolbar and each button has a specific image.

You can restrict a button from displaying at runtime and display a different image for the button.

  1. In the properties panel of the Web capture control, click the Configuration tab.
  2. Click Configure for Toolbar buttons.
    The Toolbar buttons window opens.
  3. To restrict a button from displaying at runtime, do the following:
    1. Select the button from the table.
    2. Click .
    3. Clear Show button.
    4. Click OK.
  4. To display a different image for the button, do the following:
    1. Click the button for which you want to change the image.
    2. Click .
    3. Select Custom for Theme and do one of the following:

      • Enter an image name or URL to the image in the Image path box.

        • The name must match the name in the database for the image to display at runtime.
        • For on-premise TotalAgility, the image needs to reside in <Installation location>\Kofax\TotalAgility\Agility.Server.Web\Forms\Images.
        • TotalAgility supports all image types.

      • To choose an image from the store, select Load image from store and select an existing image on the Image path list.

  5. You can allow adding and editing the following annotations: highlight, line, freehand, rectangle and text.
    1. Select the annotation that you want to add or edit.
    2. Click .
    3. Clear Show button.
    4. Ensure that Allow edit is selected.
    5. Click OK.
  6. Click Save.

Display page counter outside of the Web capture control toolbar

You can display the page counter outside of Web capture control toolbar, anywhere on the form.

  1. Add a label to your form.
  2. Add an action, such as Same page, to the PageIndexChanged event of the Web capture control.
  3. Map the WebCaptureControl.PageCounter property to the label.

    When this event is fired, the text of the label is updated with the new page counter value at runtime.