LTwain::AcquireCallBack

Summary

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

Syntax

#include "ltwrappr.h"

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

Parameters

L_INT nPage

Number of the page being acquired

L_TCHAR * pszFileName

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

L_BOOL 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.

Returns

None.

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

See Also

Functions

Topics

Example

For an example, refer to LTwain::AcquireMulti.

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS TWAIN C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.