ImageMan ImTwain Control Version 8
ScanPage Method
See Also  Send comments on this topic.
ShowUI

Set to True to specify the scanner should display its User Interface else False to request a scan without the UI.

Glossary Item Box

Description

Initiates a scan.

Syntax

Visual Basic
Public Function ScanPage( _
   ByVal ShowUI As Boolean _
) As Integer

Parameters

ShowUI

Set to True to specify the scanner should display its User Interface else False to request a scan without the UI.

Return Type

Handle to a DIB containing the scanned image else NULL if an error occured.

Remarks

Stays in state 5 for multipage scans, until CloseSource is called. May be used in environments without full support of events.

This method is different from the Scan method in that it will not reset the scan session capabilites without the use of the CloseSource method.

See Also

© 2014 Data Techniques Inc. All Rights Reserved.