ImageGear22.Twain Assembly > ImageGear.TWAIN Namespace : ImGearTWAIN Class |
The following tables list the members exposed by ImGearTWAIN.
Name | Description | |
---|---|---|
ImGearTWAIN Constructor | Initializes a new instance of the ImGearTWAIN class. |
Name | Description | |
---|---|---|
ApplicationName | Gets or sets the name of the application that uses TWAIN. | |
AudioFileName | Gets or sets the file name for recorded audio. | |
DataSources | Gets a list of available TWAIN Data Sources and identifies the one that is the default Data Source. | |
DriverVersionBuild | Gets the build part of the version number of the TWAIN Data Source Manager. | |
DriverVersionMajor | Gets the major part of the version number of the TWAIN Data Source Manager. | |
DriverVersionMinor | Gets the minor part of the version number of the TWAIN Data Source Manager. | |
ImageFileName | Gets or sets the name of a file or directory to which a scanned image will be stored when Disk Transfer Mode is used. | |
UseUI | Gets or sets a value indicating whether to use the scanner's interface. | |
WindowHandle | Gets or sets the window handle to use as the parent window. |
Name | Description | |
---|---|---|
Acquire | Overloaded. 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. | |
AcquireToDoc | Scan multiple pages from a scanner equipped with an Automatic Document Feeder (ADF). Pages are saved to an ImageGear.Core.ImGearDocument. | |
AcquireToFile | Scan multiple pages from a scanner equipped with an Automatic Document Feeder (ADF) to a specified file or directory. | |
AcquireToPage | This method causes the scanning of a single page through a TWAIN device. | |
ChangeDirectory | This method selects the current device within the Data Source (camera, storage, etc). | |
CloseFile | This method closes the file system context. | |
CloseSource | This method closes the currently opened Data Source and it also closes the connection with the Data Source Manager. | |
CopyFile | This method copies the specified file from one directory to another. | |
CreateDirectory | This method creates a new directory within the current directory. | |
DeleteFile | This method deletes a file or directory on the device. | |
Dispose | Releases resources used by the class. | |
FormatMedia | This method formats the specified storage device. Caution: All images and subdirectories under the selected device will be destroyed. | |
GetCapability | This method gets information about a capability. | |
GetCurrentImage | This method retrieves the image that the device's file system context currently points to. | |
GetFileInfo | This method gets information about the requested file. | |
GetFirstFile | This method gets the first filename in a directory, and returns information about that file (the same information that can be retrieved with GetFileInfo). | |
GetImageLayout | Gets the image layout of the selected TWAIN device. | |
GetNextFile | This method gets the next filename in a directory, and returns information about that file (the same information that can be retrieved with GetFileInfo). | |
LoadCustomDSData | This method loads the settings from the specified file, and sets the data source with these settings. | |
OpenSource | 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. | |
RenameFile | This method renames (and optionally moves) a file or directory. Absolute and relative path names are supported. | |
SaveCustomDSData | This method queries the data source for its current settings, and saves these settings to the specified file. | |
SetCapability | This method sets or resets the current value of a capability. | |
SetImageLayout | Sets the image layout of the selected TWAIN device. | |
ShowSourceUI | This method shows the Data Source UI to allow the user to manipulate the source's current settings, but not acquire an image. |
Name | Description | |
---|---|---|
AfterPage | This event is fired after each page is scanned using any of the scanning methods of ImGearTWAIN. | |
BeforePage | This event is fired before each page is scanned using any of the scanning methods of ImGearTWAIN. |