ImageGear .NET - Updated
ImGearTWAIN Class Methods


ImageGear24.Twain Assembly > ImageGear.TWAIN Namespace : ImGearTWAIN Class

For a list of all members of this type, see ImGearTWAIN members.

Public Methods
 NameDescription
Public MethodOverloaded. Scan multiple pages from a scanner equipped with an AutomaticDocumentFeeder (ADF). Each page is saved to an ImageGear.Core.ImGearPage available in an AfterPage event.  
Public MethodScan multiple pages from a scanner equipped with an Automatic Document Feeder (ADF). Pages are saved to an ImageGear.Core.ImGearDocument.  
Public Method Scan multiple pages from a scanner equipped with an Automatic Document Feeder (ADF) to a specified file or directory.  
Public Method This method causes the scanning of a single page through a TWAIN device.  
Public Method This method selects the current device within the Data Source (camera, storage, etc).  
Public Method This method closes the file system context.  
Public Method This method closes the currently opened Data Source Manager as well as any currently open Data Sources.  
Public Method This method copies the specified file from one directory to another.  
Public Method This method creates a new directory within the current directory.  
Public Method This method deletes a file or directory on the device.  
Public Method Releases resources used by the class.  
Public Method

This method formats the specified storage device.

Caution: All images and subdirectories under the selected device will be destroyed.

 
Public Method This method gets information about a capability.  
Public Method This method retrieves the image that the device's file system context currently points to.  
Public Method This method gets information about the requested file.  
Public Method This method gets the first filename in a directory, and returns information about that file (the same information that can be retrieved with GetFileInfo).  
Public Method Gets the image layout of the selected TWAIN device.  
Public Method This method gets the next filename in a directory, and returns information about that file (the same information that can be retrieved with GetFileInfo).  
Public Method This method loads the settings from the specified file, and sets the data source with these settings.  
Public Method This method opens a connection to the TWAIN Data Source Manager and then loads the specified Data Source into main memory and causes its initialization.  
Public MethodThis method opens a connection to the TWAIN Data Source Manager. A connection to a particular source can then be opened with OpenSource. A list of available data sources can be queried with DataSources.  
Public Method This method renames (and optionally moves) a file or directory. Absolute and relative path names are supported.  
Public Method This method queries the data source for its current settings, and saves these settings to the specified file.  
Public Method This method sets or resets the current value of a capability.  
Public Method Sets the image layout of the selected TWAIN device.  
Public Method This method shows the Data Source UI to allow the user to manipulate the source's current settings, but not acquire an image.  
Top
Protected Methods
 NameDescription
Protected Method Finalizes an instance of the ImGearTWAIN class. Diposes of unmanaged resources if they were not already disposed.  
Top
See Also

Reference

ImGearTWAIN Class
ImageGear.TWAIN Namespace