ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2024

Category: TWAIN functions
19 results
Several WINDEV functions allow you to retrieve documents from a Twain device...
List of constants used by the Twain functions.
List of Twain functions
Allows you to find out and change the Twain device used by default.
Returns the list of drivers for the Twain devices connected to the current computer.
Used to find out or modify the properties of the current Twain device.
Used to define or re-initialize the area to scan.
Displays a standard dialog box used to list the different Twain devices available on the current computer.
Returns the height (in millimeters) of the document captured by a Twain device.
Returns the width (in millimeters) of the document captured by a Twain device.
Usage example of the TwainState function
Returns the status of the current source.
Allows you to perform one of the following actions:
  • save the document coming from the Twain device in a Bitmap file (".BMP" extension).
  • view the document coming from the Twain device in the user interface of the device.
  • save the document coming from the Twain device directly in memory in Bitmap format (in a buffer).
Allows you to:
  • copy the document coming from the Twain device into the clipboard.
  • view the document coming from the Twain device in the user interface of device.
Allows you to :
  • view the document coming from the Twain device in an Image control.
  • view the document coming from the Twain device in the user interface of device.
Allows you to:
  • save the document coming from the Twain device in a GIF file.
  • view the document coming from the Twain device in the user interface of device.
  • save the document coming from the Twain device directly in memory in GIF format (in a buffer).
Allows you to:
  • save the document coming from the Twain device in a JPEG file.
  • view the document coming from the Twain device in the user interface of device.
  • save the document coming from the Twain device directly in memory in JPEG format (in a buffer).
Allows you to:
  • save the document coming from the Twain device in a PDF file.
  • view the document coming from the Twain device in the user interface of device.
  • save the document coming from the Twain device directly in memory in PDF format (in a buffer).
Allows you to:
  • save the document coming from the Twain device in a TIFF file.
  • view the document coming from the Twain device in the user interface of device.
  • save the document coming from the Twain device directly in memory in TIFF format (in a buffer).