←Select platform

AbortAcquire Method (ITwainService)

Summary

Aborts acquiring images.

Syntax

C#
VB
C++
[WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest,  
   IsBodyStyleSetExplicitly=true,  
   IsRequestFormatSetExplicitly=true,  
   IsResponseFormatSetExplicitly=true,  
   Method="POST",  
   RequestFormat=WebMessageFormat.Json,  
   ResponseFormat=WebMessageFormat.Json)] 
[OperationContractAttribute(Name="AbortAcquire", Action="AbortAcquire")] 
void AbortAcquire(  
   string id, 
   object userData 
) 
<WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest,  
   IsBodyStyleSetExplicitly=True,  
   IsRequestFormatSetExplicitly=True,  
   IsResponseFormatSetExplicitly=True,  
   Method="POST",  
   RequestFormat=WebMessageFormat.Json,  
   ResponseFormat=WebMessageFormat.Json)> 
<OperationContractAttribute(Name="AbortAcquire", Action="AbortAcquire")> 
Sub AbortAcquire( _ 
   ByVal id As String, _ 
   ByVal userData As Object _ 
) 
[WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest,  
   IsBodyStyleSetExplicitly=true,  
   IsRequestFormatSetExplicitly=true,  
   IsResponseFormatSetExplicitly=true,  
   Method="POST",  
   RequestFormat=WebMessageFormat.Json,  
   ResponseFormat=WebMessageFormat.Json)] 
[OperationContractAttribute(Name="AbortAcquire", Action="AbortAcquire")] 
void AbortAcquire(  
   String^ id, 
   Object^ userData 
) 

Parameters

id
The scanning session Id.

userData
The user data.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Services.Twain Assembly
Click or drag to resize