Accusoft.TwainPro9.Net
Overview of TwainPRO

TwainPRO encapsulates powerful TWAIN capabilities within a set of classes, described below:

TwainPro

The TwainPro class provides methods and properties to manage licensing of the control.

TwainDevice

The TwainDevice class provides methods and properties for managing all TWAIN device interaction. Each TwainDevice class has an ApplicationIdentity and Caption which can optionally be set.

CapabilityContainer

Capability negotiation can be done after calling TwainDevice.OpenSession. The CapabilityContainer class contains all information for a capability. The classes, such as CapabilityContainerOneValueString and CapabilityContainerOneValueFloat, that are inherited from this class can be filled with information and passed to the TwainDevice.SetCapability method to set the value of a capability. The TwainDevice.GetCapability method returns an object of this type which can be casted to the appropriate child object to access the capability information.

ScannedImage

When TwainDevice.StartSession is called, for each image that is scanned the Scanned event is fired and the ScannedImage is available. The ScannedImage class provides methods and properties for accessing the scanned image and scanned image information.

The ScannedImage.SaveFile method can be used to save the scanned image to file. If SaveOptions are not specified the image will be saved using the default settings for the specified file extension.

SaveOptions

The SaveOptions class provides settings to use for saving the scanned image to file.

ExtendedImageInfoContainer

Extended image information can be obtained using the ScannedImage.GetExtendedImageInfo method. The ExtendedImageInfoContainer class contains a collection of ExtendedImageInfoContainerValues which contain the extended image information.

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback