|
|
|
|
- Operating mode in the 64-bit applications
TwainScanArea (Function) In french: TwainZoneScan
Warning
From version 28, TwainScanZone is kept for backward compatibility. This function is replaced by TwainScanArea.
Used to define or re-initialize the area to scan. Remark: TwainScanArea must be called only if the Twain device used corresponds to a scanner. Otherwise, TwainScanArea is ignored. // Define the area to scan TwainScanArea(0, 0, 150, 280) // Display the document found in the scanner in the "IMG_MyImage" control // Only the area to scan will be displayed TwainToControl(IMG_MyImage, False)
Syntax
Reinitializing the area to scan
TwainScanArea()
Defining the area to scan Hide the details
TwainScanArea(<X1> , <Y1> , <X2> , <Y2>)
<X1>: Integer X-coordinate (in millimeters) of the top left corner of the area to scan. <Y1>: Integer Y-coordinate (in millimeters) of the top left corner of the area to scan. <X2>: Integer X-coordinate (in millimeters) of the bottom right corner of the area to scan. <Y2>: Integer Y-coordinate (in millimeters) of the lower-right corner of the area to scan. Remarks Operating mode in the 64-bit applications In a 64-bit application, this function will automatically use the 64-bit Twain driver. The TWAIN cannot be used if this driver is not installed.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|