SelectSource Method

Summary
Selects a source for acquiring images.
Syntax
C#
VB
C++
[WebInvokeAttribute(BodyStyle=2, 
   Method="POST", 
   RequestFormat=1, 
   ResponseFormat=1)] 
[OperationContractAttribute(Name="SelectSource", 
   Action="SelectSource", 
   AsyncPattern=false, 
   IsOneWay=false, 
   IsInitiating=true, 
   IsTerminating=false)] 
public void SelectSource( 
   string id, 
   string sourceName, 
   object userData 
) 
<OperationContractAttribute(Name="SelectSource", Action="SelectSource")> 
<WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest,  
   IsBodyStyleSetExplicitly=True,  
   IsRequestFormatSetExplicitly=True,  
   IsResponseFormatSetExplicitly=True,  
   Method="POST",  
   RequestFormat=WebMessageFormat.Json,  
   ResponseFormat=WebMessageFormat.Json)> 
Sub SelectSource( _ 
   ByVal id As String, _ 
   ByVal sourceName As String, _ 
   ByVal userData As Object _ 
)  
[OperationContractAttribute(Name="SelectSource", Action="SelectSource")] 
[WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest,  
   IsBodyStyleSetExplicitly=true,  
   IsRequestFormatSetExplicitly=true,  
   IsResponseFormatSetExplicitly=true,  
   Method="POST",  
   RequestFormat=WebMessageFormat.Json,  
   ResponseFormat=WebMessageFormat.Json)] 
void SelectSource(  
   String^ id, 
   String^ sourceName, 
   Object^ userData 
)  

Parameters

id
The scanning session Id.

sourceName
String contains source name to be selected.

userData
The user data.

Requirements

Target Platforms

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Services.Twain Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.