|
TWAIN Support in ObjectPAL: Series Content, Definitions and Requirements |
|
|
|
Contributed by Paul Cronk
|
|
11 August 2001 |
Paul covers everything you ever wanted to know about in this 8-page article on TWAIN Support in ObjectPAL!TWAIN Support in ObjectPAL®
Series Content, Definitions and Requirements
© 2001 Paul Cronk
- Definitions
- Requirements
- Introduction
- What is TWAIN and TWAIN support?
- What are the benefits of TWAIN support?
- TWAIN Support Overview
- Checking for TWAIN Support
- Opening a Session
- Default Sources
- Showing the Select Source Dialog
- Enumerating Data Sources
- Setting the source for a session
- Getting the source for the session
- Getting the number of sources
- Acquiring Images
- Function Reference
- Sample Projects
- Picture Saver
- Picture Saver Startup Script
- Picture Saver Dialog
- Add Picture Dialog
- Select Source Dialog
- Advanced Techniques
- Saving the Application Default Source
- Handling Graphics
- Setting the System Default Source
- Caveats with TWAIN support in ObjectPAL
- Where can I find more information about TWAIN?
Definitions
- TWAIN-compliant data source
- an acquisition source that complies with the TWAIN protocol.
- source manager
- a middle-ware that communicates between applications and TWAIN-compliant data sources.
- TWAIN session
- a state where a TWAIN variable has established a connection with the source manager. This process is known as 'Opening a TWAIN session'.
- acquiring
- the act of transmitting an image from the data source to the application.
Requirements
TWAIN support was added to Paradox in version 9, Service Pack 1. ObjectPAL support for TWAIN came later in version 10.
- You must be running Paradox 10 (or later).
- The file pxtwn32.dll must be located in the same directory as pdxwin32.exe
- The file twain_32.dll must be present in your operating system directory (c:\winnt, c:\windows)
- At least one TWAIN-complaint data source installed on the machine.
|