PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Operating mode in the 64-bit applications
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Used to define or re-initialize the area to scan.
Note: TwainScanZone must be called only if the Twain device used corresponds to a scanner. Otherwise, TwainScanZone is ignored.
Example
// Define the area to scan
TwainScanZone(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

Re-initializing the area to scan

TwainScanZone()

Defining the area to scan Hide the details

TwainScanZone(<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 bottom 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.
Components
WINDEVReports and Queries wd230std.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment