PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • 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/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Used to define or re-initialize the area to scan.
Remark: The TwainScanZone function should only be used if the Twain device used is an Scanner. In other cases, function TwainScanZone is ignored.
Example
// Définition de la zone à scanner
TwainScanZone(0, 0, 150, 280)
// Affichage du document présent dans le scanneur dans le champ "IMG_MonImage"
// Seule la zone à scanner définie sera affichée
TwainToControl(IMG_MonImage, False)
Syntax

Reinitializing the area to scan

TwainScanZone()

Define the area to be scanned Hide the details

TwainScanZone(<X1> , <Y1> , <X2> , <Y2>)
<X1>: entier
X-coordinate (in millimeters) of the top left corner of the area to scan.
<Y1>: entier
Y-coordinate (in millimeters) of the top left corner of the area to scan.
<X2>: entier
X-coordinate (in millimeters) of the bottom right corner of the area to scan.
<Y2>: entier
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.
Component: wd270std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment