VintaSoft Twain .NET SDK v10.2
ProcessAcquireModalResult Method




Vintasoft.Twain.Web.Services Namespace > VintasoftTwainWebService Class : ProcessAcquireModalResult Method
Identifier of new TWAIN session.
Information about current step of modal image acquistion.
The progress, in percents, of image acquisition process. This parameter has correct value only if error acquireModalState is set to Vintasoft.Twain.AcquireModalState.ImageAcquiringProgress.
The image, which is acquired from device. This parameter has correct value only if error acquireModalState is set to Vintasoft.Twain.AcquireModalState.ImageAcquired.
Describes the error that occurs during image acquisition. This parameter has correct value only if error acquireModalState is set to Vintasoft.Twain.AcquireModalState.ScanFailed.
Processes the result of current step of modal image acquistion.
Syntax
'Declaration
 
Protected Overridable Function ProcessAcquireModalResult( _
   ByVal twainSessionId As String, _
   ByVal acquireModalState As AcquireModalState, _
   ByVal imageAcquiringProgressValue As Integer, _
   ByVal acquiredImage As AcquiredImage, _
   ByVal errorString As String _
) As AcquireModalResponseParam
'Usage
 
Dim instance As VintasoftTwainWebService
Dim twainSessionId As String
Dim acquireModalState As AcquireModalState
Dim imageAcquiringProgressValue As Integer
Dim acquiredImage As AcquiredImage
Dim errorString As String
Dim value As AcquireModalResponseParam
 
value = instance.ProcessAcquireModalResult(twainSessionId, acquireModalState, imageAcquiringProgressValue, acquiredImage, errorString)

Parameters

twainSessionId
Identifier of new TWAIN session.
acquireModalState
Information about current step of modal image acquistion.
imageAcquiringProgressValue
The progress, in percents, of image acquisition process. This parameter has correct value only if error acquireModalState is set to Vintasoft.Twain.AcquireModalState.ImageAcquiringProgress.
acquiredImage
The image, which is acquired from device. This parameter has correct value only if error acquireModalState is set to Vintasoft.Twain.AcquireModalState.ImageAcquired.
errorString
Describes the error that occurs during image acquisition. This parameter has correct value only if error acquireModalState is set to Vintasoft.Twain.AcquireModalState.ScanFailed.

Return Value

Information about current step of modal image acquisition.
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