VintaSoft Twain .NET SDK v10.2
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.
Describes the error that occurs during image acquisition. This parameter has correct value only if error acquireModalState is set to Vintasoft.Twain.AcquireModalState.ScanFailed.
The image, which is acquired from device. This parameter has correct value only if error acquireModalState is set to Vintasoft.Twain.AcquireModalState.ImageAcquired.
Indicates that this method must dispose the acquiredImage.




In This Topic
    ProcessAcquireModalResult Method
    In This Topic
    Processes the result of current step of modal image acquistion.
    Syntax
    'Declaration
     
    Protected Overridable Function ProcessAcquireModalResult( _
       ByVal twainSessionId As String, _
       ByVal imageAcquireModalState As AcquireModalState, _
       ByVal imageAcquiringProgressValue As Integer, _
       ByVal imageAcquisitionErrorString As String, _
       ByVal acquiredImage As AcquiredImage, _
       ByVal disposeAcquiredImage As Boolean _
    ) As AcquireModalResponseParams
    'Usage
     
    Dim instance As VintasoftTwainWebService
    Dim twainSessionId As String
    Dim imageAcquireModalState As AcquireModalState
    Dim imageAcquiringProgressValue As Integer
    Dim imageAcquisitionErrorString As String
    Dim acquiredImage As AcquiredImage
    Dim disposeAcquiredImage As Boolean
    Dim value As AcquireModalResponseParams
     
    value = instance.ProcessAcquireModalResult(twainSessionId, imageAcquireModalState, imageAcquiringProgressValue, imageAcquisitionErrorString, acquiredImage, disposeAcquiredImage)

    Parameters

    twainSessionId
    Identifier of new TWAIN session.
    imageAcquireModalState
    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.
    imageAcquisitionErrorString
    Describes the error that occurs during image acquisition. This parameter has correct value only if error acquireModalState is set to Vintasoft.Twain.AcquireModalState.ScanFailed.
    acquiredImage
    The image, which is acquired from device. This parameter has correct value only if error acquireModalState is set to Vintasoft.Twain.AcquireModalState.ImageAcquired.
    disposeAcquiredImage
    Indicates that this method must dispose the acquiredImage.

    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