VintaSoft Twain .NET SDK 14.1: Documentation for .NET developer
Vintasoft.WpfTwain Namespace / Device Class
Properties Methods Events SeeAlso
In This Topic
    Device Class Members
    In This Topic
    The following tables list the members exposed by Device.
    Public Properties
     NameDescription
    Public PropertyGets the last acquired image.
    Public PropertyGets the object that provides information about async event of device if image acquisition process is synchronous.
    Public PropertyGets or sets an array with asynchronous events which the application wants the device to report.
    Public PropertyDetermines that brightness should be automatically detected.
    Public PropertyGets or sets a value indicating whether the device should capture the number of images indicated by the value of XferCount without waiting for the Application to request the image transfers.
    Public PropertyGets an object that allows to enable barcode recognition in acquired images and get information about recognized barcodes.
    Public PropertyGets or sets the bit depth of images for current scan session.
    Public PropertyGets or sets the bit depth reduction mode of images for current scan session.
    Public PropertyGets or sets the brightness of gray/palette/color images for current scan session.
    Public PropertyGets the count of images in the device buffer.
    Public PropertyGets a list of cameras supported by device.
    Public PropertyGets the collection of the device capabilities.
    Public PropertyGets or sets a value indicating whether the device must be closed after modal acquisition of images.
    Public PropertyGets or sets the contrast of gray/palette/color images for current scan session.
    Public PropertyGets or sets a value indicating whether the device must be disabled after acquisition of images.
    Public PropertyAllows to manipulate the document feeder of device.
    Public PropertyDetects the end of batch job.
    Public PropertyGets the string that describes the error.
    Public PropertyGets an object that allows to get an extended information about the acquired image.
    Public PropertyGets or sets the file format for images when File transfer mode is used.
    Public PropertyGets or sets the JPEG quality for acquired images saved as JPEG files when File transfer mode is used.
    Public PropertyGets or sets the path to a file where next acquired image should be saved when File transfer mode is used.
    Public PropertyGets or sets the halftones for bit depth reduction of images for current scan session.
    Public PropertyGets or sets a value indicating whether the device has automatic document feeder.
    Public PropertyGets or sets a value indicating whether the device has flatbed.
    Public PropertyGets the progress, in percents, of synchronous image acquisition process.
    Public PropertyGets or sets the image compression for images when Memory or File transfer mode is used.
    Public PropertyGets or sets the image filter for current scan session.
    Public PropertyAllows to manipulate the image layout of device.
    Public PropertyGets the information about device.
    Public PropertyGets a value indicating whether the device supports asynchronous events.
    Public PropertyGets a value that indicates whether the object is disposed.
    Public PropertyAllows multiple jobs in batch mode.
    Public PropertyDetermines that the lamp of device is on.
    Public PropertyDetermines that the image was captured transmissively or reflectively.
    Public PropertyGets or sets the general color characteristic of the light source for current scan session.
    Public PropertyGets or sets the number of images that the device can buffer when AutoScan is enabled.
    Public PropertyDetermines that the User Interface of device should be shown in modal state.
    Public PropertyGets or sets the noise filter for current scan session.
    Public PropertyGets a value indicating whether the device is powered up and available.
    Public PropertyGets or sets the mode of size detection for current scan session.
    Public PropertyGets or sets the orientation of images for current scan session.
    Public PropertyGets or sets the page size for current scan session.
    Public PropertyGets or sets the value of pixel flavor for current scan session.
    Public PropertyGets or sets the pixel type of images for current scan session.
    Public PropertyGets or sets the resolution of images for current scan session.
    Public PropertyDetermines that progress indicator of scan process should be shown.
    Public PropertyDetermines that the User Interface of device should be shown.
    Public PropertyGets the state of device.
    Public PropertyGets or sets the threshold of black-white images for current scan session.
    Public PropertyGets or sets the transfer mode, which should be used when images are acquiring from TWAIN device.
    The property also changes value of DeviceCapabilityId.IXferMech capability if device is opened.
    Public PropertyGets or sets the unit of measure for current scan session.
    Public PropertyGets or sets a value indicating whether the device will try to get/set the capability value only if capability is present in device capability list (Capabilities).
    Public PropertySpecifies how many images application wants to receive from the device.
    Public Methods
     NameDescription
    Public MethodAcquires image(s) from the device asynchronously.
    Public MethodAcquires image(s) from the device synchronously.
    Public MethodSends the cancel current transfer command to the device (transfer will not be canceled right after execution of this method).
    Public MethodClears the device buffers according to the specified mode.
    Public MethodCloses the device.
    Public MethodDisables the device.
    Public MethodReleases all resources used by this object.
    Public MethodEnables the device.
    Public MethodReturns an array of asynchronous events supported by device.
    Public MethodReturns an array of bit depth reduction modes supported by device.
    Public MethodReturns an array of bit depths supported by device.
    Public MethodReturns an array of brightness values supported by device.
    Public MethodReturns an array of contrast values supported by device.
    Public MethodReturns an array of halftones supported by device.
    Public MethodReturns an array of horizontal resolutions supported by device.
    Public MethodReturns an array of image compressions supported by device in File transfer mode.
    Public MethodReturns an array of image file formats supported by device in File transfer mode.
    Public MethodReturns an array of image filters supported by device.
    Public MethodReturns an array of job control values supported by device.
    Public MethodReturns an array of light paths supported by device.
    Public MethodReturns an array of light sources supported by device.
    Public MethodReturns an array with supported numbers of images that the device can buffer when AutoScan is enabled.
    Public MethodReturns an array of noise filters supported by device.
    Public MethodReturns an array of page orientations supported by device.
    Public MethodReturns an array of page sizes supported by device.
    Public MethodReturns an array of pixel flavors supported by device.
    Public MethodReturns an array of pixel types supported by device.
    Public MethodReturns an array of threshold values supported by device.
    Public MethodReturns an array of transfer modes supported by device.
    Public MethodReturns an array of units of measure supported by device.
    Public MethodReturns an array of vertical resolutions supported by device.
    Public MethodLoads device settings from the stream.
    Public MethodOpens the device.
    Public MethodPerforms TWAIN command.
    Public MethodSaves the current device settings to the stream.
    Public MethodSets the resolution of images for current scan session.
    Public MethodDisplays the device setup dialog if device supports setup dialog.
    Public MethodStops the automatic document feeder is possible.
    Protected Methods
     NameDescription
    Protected MethodReleases all resources used by this object.
    Public Events
     NameDescription
    Public EventOccurs when the asynchronous device event is occurs.
    Public EventOccurs when image is acquired from device.
    Public EventOccurs when image acquisition starts.
    Public EventOccurs when image acquisition is in progress (only if Memory transfer mode is used).
    Public EventOccurs when scan process is canceled.
    Public EventOccurs when scan session is completed.
    Public EventOccurs when scan process is failed.
    Public EventOccurs when Scan process is finished (scan session is completed; scan is canceled; scan is failed; user interface is closed).
    Public EventOccurs when the user interface of device is closed.
    See Also