VintaSoft Twain .NET SDK v10.2
ClearBuffers Method (Device)




Vintasoft.WpfTwain Namespace > Device Class : ClearBuffers Method
Specifies how device buffers must be cleared.
Clears the device buffers according to the specified mode.
Syntax
'Declaration
 
Public Sub ClearBuffers( _
   ByVal value As ClearBufferMode _
) 
'Usage
 
Dim instance As Device
Dim value As ClearBufferMode
 
instance.ClearBuffers(value)
public void ClearBuffers( 
   ClearBufferMode value
)
public: void ClearBuffers( 
   ClearBufferMode value
) 
public:
void ClearBuffers( 
   ClearBufferMode value
) 

Parameters

value
Specifies how device buffers must be cleared.
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.
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
AutoScan Property
BufferedImageCount Property
MaxBatchBuffers Property