VintaSoft Twain .NET SDK v10.2
AcquireModal Method (VintasoftTwainWebService)




Vintasoft.Twain.Web.Services Namespace > VintasoftTwainWebService Class : AcquireModal Method
The parameters, which are necessary for modal acquisition of image from TWAIN device.
Acquires image(s) from the device synchronously.
Syntax
'Declaration
 
Public Function AcquireModal( _
   ByVal requestParams As DeviceRequestParamsBase _
) As AcquireModalResponseParam
'Usage
 
Dim instance As VintasoftTwainWebService
Dim requestParams As DeviceRequestParamsBase
Dim value As AcquireModalResponseParam
 
value = instance.AcquireModal(requestParams)

Parameters

requestParams
The parameters, which are necessary for modal acquisition of image from TWAIN device.

Return Value

Information about one step of modal image acquistion.
Exceptions
ExceptionDescription
Thrown if TWAIN session is wrong OR device manager is not opened.
Requirements

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

See Also

Reference

VintasoftTwainWebService Class
VintasoftTwainWebService Members