ImageGear .NET v25.1 - Updated
ImGearTWAIN Class Members
Properties  Methods  Events


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

The following tables list the members exposed by ImGearTWAIN.

Public Constructors
 NameDescription
Public ConstructorInitializes a new instance of the ImGearTWAIN class.  
Top
Public Properties
 NameDescription
Public Property Gets or sets the name of the application that uses TWAIN.  
Public Property Gets or sets the file name for recorded audio.  
Public Property Gets a value indicating whether a connection to the TWAIN Data Source Manager (DSM) is open.  
Public Property Gets or sets the version of the TWAIN Data Source Manager (DSM) to open.  
Public Property Gets a value indicating whether a connection to a TWAIN Data Source (DS) is open.  
Public Property Gets a list of available TWAIN Data Sources and identifies the one that is the default Data Source.  
Public Property Gets the build part of the version number of the TWAIN Data Source Manager.  
Public Property Gets the major part of the version number of the TWAIN Data Source Manager.  
Public Property Gets the minor part of the version number of the TWAIN Data Source Manager.  
Public Property Gets or sets the name of a file or directory to which a scanned image will be stored when Disk Transfer Mode is used.  
Public Property Gets or sets a value indicating whether to use the scanner's interface.  
Public Property Gets or sets the window handle to use as the parent window.  
Top
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
Public Events
 NameDescription
Public EventThis event is fired after each page is scanned using any of the scanning methods of ImGearTWAIN.  
Public EventThis event is fired before each page is scanned using any of the scanning methods of ImGearTWAIN.  
Top
See Also

Reference

ImGearTWAIN Class
ImageGear.TWAIN Namespace