ImageGear Professional for Windows ActiveX
IGTwainCtl Control

Description:

ImageGear TWAIN component. The instance of IGTwainCtl should be either added to the form during design time, or created dynamically during run time.

Interface:

IIGTwainCtl extends IIGTwain

IIGTwain extends IIGComponent

Members:

Methods
Acquire Method This method is used to scan multiple pages from a scanner equipped with an Automatic Document Feeder (ADF).
AcquireToDoc Method This method is used to scan multiple pages from a scanner equipped with an Automatic Document Feeder (ADF).
AcquireToFile Method This method is used to scan multiple pages from a scanner equipped with an Automatic Document Feeder (ADF).
AcquireToPage Method This causes the scanning of a single page through a TWAIN device.
CaptureAutomatically Method This method automatically captures images from the selected TWAIN device.
ChangeDirectory Method This method selects the current device within the Data Source
CloseFile Method This method closes the file system context associated with pFileInfo.
CloseSource Method This method closes the currently opened Data Source.
CopyFile Method This method copies the specified file from one directory to another.
CreateCapability Method This method creates a new capability container.
CreateDirectory Method This method creates a new directory within the current directory.
DeleteFile Method This method deletes a file or directory on the device.
FormatMedia Method This method formats the specified storage.
GetCapability Method This method gets information about a capability from a Data Source.
GetCurrentImage Method This method retrieves the image that the device's file system context currently points to.
GetDSInfo Method This method gets the IGTWAINDataSources object that lists the available TWAIN Data Sources and identifies the one that is the default Data Source.
GetFileInfo Method This method gets information about the requested file.
GetFirstFile Method This method gets the first filename in a directory and returns information about that file
GetImageLayout Method This method gets the image layout of the selected TWAIN device.
GetNextFile Method This method gets the next filename in a directory, and returns information about that file
GetTWAINInfo Method This method gets the IGTWAINInfo that contains version information about the Data Source Manager.
LoadCustomDSData Method This method loads the settings from the specified file, and sets the data source with these settings.
OpenSource Method This method loads the specified Data Source into main memory and causes its initialization.
Preview Method This function acquires preview images from the selected TWAIN device and displays them using Data Source's preview user interface.
RenameFile Method This method renames (and optionally moves) a file or directory.
SaveCustomDSData Method This method queries the data source for its current settings, and saves these settings to the specified file.
SetCapability Method This method sets or resets the current value of a capability.
SetImageLayout Method This method sets the image layout of the selected TWAIN device.
ShowSourceUI Method This method shows the Data Source UI, to allow the user to manipulate the source's current settings, but not acquire an image.
Properties
ApplicationName Property Gets or sets the name of the application that uses TWAIN.
AudioFileName Property Specifies the file name for an audio snippet when Disk Transfer Mode is used.
ComponentInfo Property Provides access to the IGComponentInfo object for IGTWAINCtl.
ComponentInterface Property Provides access to the IIGComponent interface for IGTWAINCtl.
ImageFileName Property Specifies the file name for a scanned image when Disk Transfer Mode is used.
KeepOpen Property If set to True, allows the user to continue scanning until closing the UI.
SavePageBeforeEvent Property This property specifies if the images saved during an AcquireToFile Method operation are to be saved before or after an AfterPage Event.
SavePagesSeparately Property Specifies if the images are to be stored in separate files.
UseUI Property Determines whether or not a call to AcquireToDoc, AcquireToFile, AcquireToPage will cause the TWAIN Data Source to display its settings dialog so that the user can set the various capability values.
WindowHandle Property Passed to the TWAIN Data Source when it is called by IGTWAINCtl.
Events
AfterDoc Event This event is fired by IGTwainCtl after all the pages of a document have been scanned, processed and/or saved using Acquire, AcquireToDoc and AcquireToFile methods. It allows you to find out how many pages have been scanned so far, and what the status of the paper availability in the ADF.
AfterPage Event This event is fired by IGTwainCtl after each page have been acquired using Acquire, AcquireToDoc, AcquireToFile methods.
BeforeDoc Event This event is fired by IGTwainCtl before any of the pages of the document have been retrieved, processed and/or saved.
BeforePage Event This event is fired by IGTwainCtl just before a new page is required using Acquire, AcquireToDoc and AcquireToFile methods.

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback