VintaSoft Twain .NET SDK v10.2
AutoScan Property (Device)




Vintasoft.WpfTwain Namespace > Device Class : AutoScan Property
Gets 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.
Syntax
'Declaration
 
Public Property AutoScan As Boolean
'Usage
 
Dim instance As Device
Dim value As Boolean
 
instance.AutoScan = value
 
value = instance.AutoScan
public bool AutoScan {get; set;}
public: __property bool get_AutoScan();
public: __property void set_AutoScan( 
   bool value
);
public:
property bool AutoScan {
   bool get();
   void set (    bool value);
}

Property Value

true - device should capture the number of images indicated by the value of XferCount without waiting for the Application to request the image transfers; false - device should capture one image, wait while the Application requests the image, transfer image to the Application and only after this capture new image.
Exceptions
ExceptionDescription
Thrown if device is in wrong state.
Thrown if device does not support capability.
Thrown if the .NET debugger is used and the function evaluation requires all threads to run.
Remarks
Call this property only when device is opened (State == DeviceState.Opened).
Requirements

Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

See Also

Reference

Device Class
Device Members
MaxBatchBuffers Property
BufferedImageCount Property
ClearBuffers Method