Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS TWAIN C++ Class Library Help

LTwain::AcquireCallBack

Show in webframe

#include "ltwrappr.h"

virtual L_VOID LTwain::AcquireCallBack (nPage, pszFileName, bFinishScan)

L_INT nPage;

/* page number */

L_TCHAR * pszFileName;

/* file name */

L_BOOL bFinishScan;

/* flag to determine if the scanning status */

Called twice for each page scanned using LTwain::AcquireMulti or LTwain::FastAcquire.

Parameter

Description

nPage

Number of the page being acquired

pszFileName

Character string containing the name of the file in which to save the scanned image(s).

bFinishScan

Flag that indicates the scanning status. Possible values are:

 

Value

Meaning

 

TRUE

Scanning of the page has finished.

 

FALSE

Scanning of the page has just started.

Comments

This callback function will be enabled only if you enabled the callback functions by calling LBase::EnableCallBack.

This callback will be called two times. The callback is called the first time when the Twain source begins scanning the page. The callback is called the second time when the Twain source has finished scanning the page.

Required DLLs and Libraries

LTTWN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

LTwain::Acquire, LTwain::AcquireList, LTwain::InitSession, LTwain::EndSession, LTwain::OpenTemplateFile, LTwain::CloseTemplateFile, LTwain::TemplateDlg, LTwain::AddCapabilityToFile, LTwain::GetNumofCapsInFile, LTwain::GetCapabilityFromFile, LTwain::AcquireMulti, LTwain::FastAcquire, LTwain::FindFastConfig, LTwain::GetScanConfigs, LTwain::FreeScanConfig.

Topics:

How to Acquire from the Twain Source

 

TWAIN Functionality:Property Functions

Example

For an example, refer to LTwain::AcquireMulti.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.