Changing the Display Frequency During Scanning Within an ImageControls 3 Application



Similar documents
Visual Logic Instructions and Assignments

Applications Development

ImageJ Macro Language Quick-notes.

Configure a scanning device Install ImageNow If you are using Kofax/VRS, install the Kofax application as an administrator. the following procedure.

ProCAP Transfer with Omneon Interface

1. Create SQL Database in Visual Studio

Visual Basic Programming. An Introduction

MEDILINK ESI (R2) How To: Use the Medilink Document Management System. Casey Pittman Developer - APS Medilink 2011/08/12

customer rewards Use this guide to create customized customer rewards and redeem points earned by customers.

VB.NET Programming Fundamentals

Tutorial - How to Use Lotus Domino Web Services in Java Development

Creating Database Tables in Microsoft SQL Server

Synthesys Call Recycling

1 Introduction. Contents. Scanner support

Microsoft Access 3: Understanding and Creating Queries

MS Access: Advanced Tables and Queries. Lesson Notes Author: Pamela Schmidt

CDOT Monumentation Sheets

How-To Guide. Crystal Report Demo. Copyright Topaz Systems Inc. All rights reserved.

MAPINFO GRID ENGINE. MapBasic scripts. MIGRID.DLL functions. using. Jacques Paris

Using Flow Control with the HEAD Recorder

SafeGuard PrivateCrypto 2.40 help

Building Queries in Microsoft Access 2007

Hands-On Lab. Client Workflow. Lab version: Last updated: 2/23/2011

P3PC ENZ0. ScanSnap N1800 Network Scanner Salesforce Chatter Add-in User s Guide

ClientAce WPF Project Example

A Comparison of SAS versus Microsoft Excel and Access s Inbuilt VBA Functionality Jozef Tarrant, Amadeus Software Ltd., Oxford, UK

Chapter 11 Search December 2014 Page 1. Terms

28 Simply Confirming Onsite

MS Visual C++ Introduction. Quick Introduction. A1 Visual C++

Wellspring FAX Service 1 September 2015

Welcome to. NukeWorker.com s Employer Services Job Management Tutorial

Bank Account 1 September 2015

OnTime Web Services User Guide

SQL Server CE Remote Data Access and Replication

iw Document Manager Cabinet Converter User s Guide

SQL Server An Overview

Company Setup 401k Tab

While Loops and Animations

This exhibit describes how to upload project information from Estimator (PC) to Trns.port PES (server). Figure 1 summarizes this process.

VirtualReScan 4.2 User s Guide

Program to solve first and second degree equations

Shimadzu UV-VIS User s Guide

Simple Dialog Box Management Handout.pdf. Detailed Instructions

**Web mail users: Web mail provides you with the ability to access your via a browser using a "Hotmail-like" or "Outlook 2003 like" interface.

EXERCISE 4. Load Cases Form. Objectives: Add a callback for additional analysis information. PATRAN 305 Exercise Workbook 4-1

When a variable is assigned as a Process Initialization variable its value is provided at the beginning of the process.

J a v a Quiz (Unit 3, Test 0 Practice)

Access Queries (Office 2003)

WebSphere Business Monitor

Gravity Forms: Creating a Form

CHAPTER 11: DOCUMENT ARCHIVING

Do you pay your Creditors Electronically and sometimes forget to enter their Bank Account Number?

SHIPSTATION / MIVA MERCHANT SETUP GUIDE

Sales Person Commission

Translating to Java. Translation. Input. Many Level Translations. read, get, input, ask, request. Requirements Design Algorithm Java Machine Language

CRM Setup Factory Installer V 3.0 Developers Guide

Hands-on Exercise 1: VBA Coding Basics

Scanner Configuration Utility

RIT Installation Instructions

Siemens S7 Status Word

Access 2010: The Navigation Pane

SirsiDynix Symphony 3.2 Reports Training Guide DOC-REPTGEN-S

Step-by-Step Guide to Active Directory Bulk Import and Export

Table and field properties Tables and fields also have properties that you can set to control their characteristics or behavior.

Hands-On: Introduction to Object-Oriented Programming in LabVIEW

ExhIBIT 1 User Manager and Users Group

MAS 500 Intelligence Tips and Tricks Booklet Vol. 1

Searching Guide Version 8.0 December 11, 2013

Simply Accounting Intelligence Tips and Tricks Booklet Vol. 1

FILESURF 7.5 SR3/WORKSITE INTEGRATION INSTALLATION MANUAL 1 PRELIMINARIES...3 STEP 1 - PLAN THE FIELD MAPPING...3 STEP 2 - WORKSITE CONFIGURATION...

3. Installation for Windows 95/98/NT4. 1. Introduction

Auto-Archiving your s in Outlook

National Database System (NDS-32) Macro Programming Standards For Microsoft Word Annex - 8

How-To Guide. SigCard1 (With Microsoft Access) Demo. Copyright Topaz Systems Inc. All rights reserved.

Visual Basic and OPC All versions of Kepware OPC Servers 10/23/03

Document Management Getting Started Guide

ELEPHANT. Serviced Offices. The 116 Group Limited Telephone:

VISUAL GUIDE to. RX Scripting. for Roulette Xtreme - System Designer 2.0

Uniden s E-Scanner Programming Software Version 2.0

Appointment and Removal of an Investment Adviser User Guide

Smart Connection 9 Element Labels

Office of History. Using Code ZH Document Management System

Creating a table of contents quickly in Word

DS-0321 FFT Analysis Software Operation manual Basic operation procedure for Configuration Setting

Library Management System

Setting up Auto Import/Export for Version 7

Asset Track Getting Started Guide. An Introduction to Asset Track

Pdf - print version. Lab Objectives: When you are finished with this lab you should be able to:

Visual Basic and Databases

Snap 9 Professional s Scanning Module

Banner Document Management Suite (BDMS) Web Access Help

VisionMate Flat Bed Scanner 2D Tube Barcode Reader

Introduction to Microsoft Access 2003

Getting Started with STATISTICA Enterprise Programming

Configuring MDaemon for Centralized Spam Blocking and Filtering

ACS Microcomputer Workshop Excel: Functions and Data Analysis Tools

Moving from C++ to VBA

CGS 1550 File Transfer Project Revised 3/10/2005

KaleidaGraph Quick Start Guide

Add an Audit Trail to your Access Database

Transcription:

Changing the Display Frequency During Scanning Within an ImageControls 3 Date November 2008 Applies To Kofax ImageControls 2x, 3x Summary This application note contains example code for changing he display frequency during scanning in an ImageControls 3x application Revision 10 Overview ImageControls 3 provides the capability to display all images while they are being scanned This is normally accomplished by connecting the KView to the KScan controls, and automatically displaying the scanned or imported image But, the displaying of images as they are being scanned or imported can negatively impact the ImageControls scan process As an alternative to displaying all images as they are processed, a developer can control the frequency which processed images are displayed For example, instead of displaying each and every image as it is processed, the user may only wish to see every five (5) images processed This is outlined in the ImageControls 3 Programmer's Guide, Chapter 4 Scanning and Importing Images, the section Programmatic Control Over the Frequency of the Display Frequency of Display While Scanning/Importing This project modifies the original demonstration utility, VBDEM32xEXE, source code as provided with the ImageControls 3 Toolkit It provides the ability to alter the frequency at which processed images are displayed The user would select a number between "0" and "9" inclusive A zero (0) would denote the deactivation of any display of processed images A one (1) would denote that all images processed are to be displayed A two (2) would denote that every other image processed be displayed and so on It contains one additional form, frmdisplayfreq, which is a dialog box to select frequency at which images will be displayed This form consists of the following: One (1) label displaying "Display Frequency (0-9):": lbldisplayfreq One (1) text box for the display frequency value: txtdisplayfreq One (1) command button: cmdok The image below displays the placement of these items on the form

A menu selection, mnusourcedisplayfreq, was added after the Batch Processing menu item in the Source pull down menu of the main form, frmmain When it is selected, the form frmdisplayfreq is displayed When the user closes the dialog box, it is unloaded Private Sub mnusourcedisplayfreq_click() '***** Display Frequency dialog box Call KFShowFormWithHourGlass(frmDisplayFreq, True) '***** Hide the form Unload frmdisplayfreq The user is able to select the frequency in which the images will be displayed during processing When the form loads, it centers itself and puts the dialog box on top The initial value is derived from a global variable, g_displayfreq Private Sub Form_Load() '***** Center box KFCenterForm Me '***** Put box on top KFPutFormOnTop Me '***** Initial Value for display frequency txtdisplayfreqtext = g_displayfreq When the OK command button is selected, the value for the display frequency is validated Private Sub cmdok_click() Dim sinputno As String sinputno = txtdisplayfreqtext '***** Check for selection that is out of range If (Val(sInputNo) < 0) Then txtdisplayfreqtext = 0 Exit Sub If (Val(sInputNo) > 9) Then txtdisplayfreqtext = 9 Exit Sub '***** If the input was ok, exit '***** Set display freq global variable Page 2

g_displayfreq = (Val(txtDisplayFreqText)) '***** If display freq is 0, deactivate display If g_displayfreq <> 1 Then frmmain!kscan1display = False frmmain!kscan1display = True '***** Hide Display Freq Form MeHide Three new global variables are added to the General Declarations of the KFUTILBAS file: g_displayfreq, g_pefilename and g_pefront These global variables are used to determine the frequency in which images should be displayed, the filename to which the image was saved, and the page to which the image was saved '***** Global variables for display frequency Global g_displayfreq As Integer 'Display Frequency Global g_pefilename As String 'KScanPEFileName Global g_pefront As Boolean 'Front or Back Image When the main form is loaded, Form_Load event, the global variable g_displayfreq is initialized It is initialized to a value of one (1), or to display all images while processing '***** Initialize Display Frequency g_displayfreq = 1 It is determined if the image is a front or back side image during the KScan_PageEnd event '***** Increment page count (unless back of duplex) If Kscan1PEFront Then g_pepagecount = g_pepagecount + 1 g_totalpages = g_totalpages + 1 '***** Set flag for front or back image g_pefront = True g_pefront = False Page 3

Kscan1IOWriteMode = g_pewritemode The filename and page to view are also updated during the KScan_PageEnd event Select Case g_pewritemode Case KGIOWRITEMODEINSERT: KFPageEndNameBuild Case KGIOWRITEMODEAPPEND: KFPageEndNameBuild '***** The KScanPage property is not used when appending '***** This updates the existing g_pepage variable for '***** use with Display Frequency g_pepage = Kscan1PEPageCount + 1 End Select '***** Set filename to nothing so it is not saved '***** (if it is smaller than the delete threshold) If Kscan1PEDelete Then g_pefilename = "" Kscan1PEPage = g_pepage '***** Update KScanPEFileName for Display Freq g_pefilename = Kscan1PEFileName Page 4

Finally, during the KScan_PageDone event the filename, page and whether it is a front or back page are set and the image is viewed If the user has selected zero (0) or one (1) for the display frequency, then the standard way of handling the viewing of scanned image is performed If not, then the images are manually displayed This is placed at the end of the procedure '***** Determine filename, page, front or back image '***** and determine if it should be viewed If g_displayfreq < 2 Then Exit Sub If (g_pepagecount Mod g_displayfreq) = 0 Then If g_pefront Then KViewLeftFileName = g_pefilename KViewLeftAction = KVACTIONOPENIMAGE KViewLeftPage = g_pepage KViewLeftRefresh KViewRightFileName = g_pefilename KViewRightAction = KVACTIONOPENIMAGE KViewRightPage = g_pepage KViewRightRefresh Page 5