←Select platform

QuerySourceInformation Method (ITwainService)

Summary

Gets information about the available TWAIN Data Sources.

Syntax

C#
VB
C++
[OperationContractAttribute(Name="QuerySourceInformation", Action="QuerySourceInformation")] 
[WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest,  
   IsBodyStyleSetExplicitly=true,  
   IsRequestFormatSetExplicitly=true,  
   IsResponseFormatSetExplicitly=true,  
   Method="POST",  
   RequestFormat=WebMessageFormat.Json,  
   ResponseFormat=WebMessageFormat.Json)] 
[Leadtools.Twain.TwainSourceInformation[]](../tw/twainsourceinformation.html) QuerySourceInformation(  
   string id, 
   object userData 
) 
<OperationContractAttribute(Name="QuerySourceInformation", Action="QuerySourceInformation")> 
<WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest,  
   IsBodyStyleSetExplicitly=True,  
   IsRequestFormatSetExplicitly=True,  
   IsResponseFormatSetExplicitly=True,  
   Method="POST",  
   RequestFormat=WebMessageFormat.Json,  
   ResponseFormat=WebMessageFormat.Json)> 
Function QuerySourceInformation( _ 
   ByVal id As String, _ 
   ByVal userData As Object _ 
) As Leadtools.Twain.TwainSourceInformation() 
[OperationContractAttribute(Name="QuerySourceInformation", Action="QuerySourceInformation")] 
[WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest,  
   IsBodyStyleSetExplicitly=true,  
   IsRequestFormatSetExplicitly=true,  
   IsResponseFormatSetExplicitly=true,  
   Method="POST",  
   RequestFormat=WebMessageFormat.Json,  
   ResponseFormat=WebMessageFormat.Json)] 
Leadtools.Twain.array<TwainSourceInformation>^ QuerySourceInformation(  
   String^ id, 
   Object^ userData 
) 

Parameters

id
The scanning session Id.

userData
The user data.

Return Value

Information about the available TWAIN Data Sources.

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