ImageGear for Silverlight
ImGearTWAIN Class Members
See Also  Properties  Methods  Events Send Feedback
ImageGear20.TWAIN Assembly > ImageGear.TWAIN Namespace : ImGearTWAIN Class

Glossary Item Box

The following tables list the members exposed by ImGearTWAIN.

Public Constructors

 NameDescription
Public ConstructorImGearTWAIN ConstructorInitializes a new instance of the ImGearTWAIN class.  
Top

Public Properties

 NameDescription
Public PropertyCloseUIOnCancel Gets or sets a value indicating whether the TWAIN user interface should be closed when the operation is cancelled.  
Public PropertyCurrentDataSource Gets the name of the currently opened data source.  
Public PropertyDataSources Gets a collection of available TWAIN Data Sources.  
Public PropertyEnableExtendedCapabilitiesGets or sets a value indicating whether the capabilities ImGearCapabilities.CAP_FEEDPAGE and CAP_CLEARPAGE are enabled.  
Public Propertystatic (Shared in Visual Basic)IsAvailable Gets a value indicating whether the TWAIN technology of ImageGear for Silverlight is available to the Silverlight application.  
Public PropertyTransferMode Gets or sets a value indicating the method of transferring acquired images from the Data Source to the application.  
Public PropertyUseUI Gets or sets a value indicating whether to use the TWAIN Data Source Manager's and Data Source's graphical use interface.  
Top

Public Methods

 NameDescription
Public MethodAcquireOverloaded. 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 MethodAcquireToDocOverloaded. Scan multiple pages from a scanner equipped with an Automatic Document Feeder (ADF). Pages are saved to an ImageGear.Core.ImGearDocument.  
Public MethodAcquireToPageOverloaded.  This method initiates the scanning of a single page through a TWAIN device.  
Public MethodCloseSource This method closes the currently opened Data Source and it also closes the connection with the Data Source Manager.  
Public MethodDispose Releases resources used by the class.  
Public MethodGetCapability This method gets the value of a capability.  
Public MethodGetCapabilityValueDescription Returns a description of an enum value for the specified capability.  
Public MethodGetExtendedImageInformation Gets the specified extended image info.  
Public MethodGetImageLayout Gets the image layout of the selected TWAIN device.  
Public MethodIsCapabilitySupported Determines whether or not the specified capability is supported by the current data source.  
Public MethodLoadDataSourceSettings This method loads data source settings from the specified file, and configures the data source with the settings.  
Public MethodOpenSource 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 MethodSaveDataSourceSettings This method queries the data source for its current settings, and saves these settings to the specified file.  
Public MethodSetCapability This method sets the value of a capability.  
Public MethodSetImageLayout Sets the image layout of the selected TWAIN device.  
Public MethodShowSourceUI 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 MethodFinalize Finalizes an instance of the ImGearTWAIN class. Diposes of unmanaged resources if they were not already disposed.  
Top

Public Events

 NameDescription
Public EventAfterPageThis event is fired after each page is scanned using any of the scanning methods of ImGearTWAIN.  
Public EventBeforePageThis event is fired before each page is scanned using any of the Acquire* methods of ImGearTWAIN.  
Top

See Also

©2013. Accusoft Corporation. All Rights Reserved.