ImageGear .NET v25.2 - Updated
ImageGear.Twain Assembly / ImageGear.TWAIN Namespace / ImGearTWAIN Class
Properties Methods Events


In This Topic
    ImGearTWAIN Class Members
    In This Topic

    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 PropertyGets or sets the name of the application that uses TWAIN.  
    Public PropertyGets or sets the file name for recorded audio.  
    Public PropertyGets a value indicating whether a connection to the TWAIN Data Source Manager (DSM) is open.  
    Public PropertyGets or sets the version of the TWAIN Data Source Manager (DSM) to open.  
    Public PropertyGets a value indicating whether a connection to a TWAIN Data Source (DS) is open.  
    Public PropertyGets a list of available TWAIN Data Sources and identifies the one that is the default Data Source.  
    Public PropertyGets the build part of the version number of the TWAIN Data Source Manager.  
    Public PropertyGets the major part of the version number of the TWAIN Data Source Manager.  
    Public PropertyGets the minor part of the version number of the TWAIN Data Source Manager.  
    Public PropertyGets or sets the name of a file or directory to which a scanned image will be stored when Disk Transfer Mode is used.  
    Public PropertyGets or sets a value indicating whether to use the scanner's interface.  
    Public PropertyGets 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 MethodScan multiple pages from a scanner equipped with an Automatic Document Feeder (ADF) to a specified file or directory.  
    Public MethodThis method causes the scanning of a single page through a TWAIN device.  
    Public MethodThis method selects the current device within the Data Source (camera, storage, etc).  
    Public MethodThis method closes the file system context.  
    Public MethodThis method closes the currently opened Data Source Manager as well as any currently open Data Sources.  
    Public MethodThis method copies the specified file from one directory to another.  
    Public MethodThis method creates a new directory within the current directory.  
    Public MethodThis method deletes a file or directory on the device.  
    Public MethodReleases 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 MethodThis method gets information about a capability.  
    Public MethodThis method retrieves the image that the device's file system context currently points to.  
    Public MethodThis method gets information about the requested file.  
    Public MethodThis method gets the first filename in a directory, and returns information about that file (the same information that can be retrieved with GetFileInfo).  
    Public MethodGets the image layout of the selected TWAIN device.  
    Public MethodThis method gets the next filename in a directory, and returns information about that file (the same information that can be retrieved with GetFileInfo).  
    Public MethodThis method loads the settings from the specified file, and sets the data source with these settings.  
    Public MethodThis 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 MethodThis method renames (and optionally moves) a file or directory. Absolute and relative path names are supported.  
    Public MethodThis method queries the data source for its current settings, and saves these settings to the specified file.  
    Public MethodThis method sets or resets the current value of a capability.  
    Public MethodSets the image layout of the selected TWAIN device.  
    Public MethodThis 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 MethodFinalizes 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