Error processing SSI file
LEADTOOLS WCF (Leadtools.Services.Twain assembly)

Show in webframe

SelectSource Method (ITwainService)






The scanning session Id.
String contains source name to be selected.
The user data.
Selects a source for acquiring images.
Syntax
[WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest, 
   IsBodyStyleSetExplicitly=true, 
   IsRequestFormatSetExplicitly=true, 
   IsResponseFormatSetExplicitly=true, 
   Method="POST", 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json)]
[OperationContractAttribute(Name="SelectSource", Action="SelectSource")]
void SelectSource( 
   string id,
   string sourceName,
   object userData
)
'Declaration
 
<WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest, 
   IsBodyStyleSetExplicitly=True, 
   IsRequestFormatSetExplicitly=True, 
   IsResponseFormatSetExplicitly=True, 
   Method="POST", 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json)>
<OperationContractAttribute(Name="SelectSource", Action="SelectSource")>
Sub SelectSource( _
   ByVal id As String, _
   ByVal sourceName As String, _
   ByVal userData As Object _
) 
'Usage
 
Dim instance As ITwainService
Dim id As String
Dim sourceName As String
Dim userData As Object
 
instance.SelectSource(id, sourceName, userData)

            

            
[WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest, 
   IsBodyStyleSetExplicitly=true, 
   IsRequestFormatSetExplicitly=true, 
   IsResponseFormatSetExplicitly=true, 
   Method="POST", 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json)]
[OperationContractAttribute(Name="SelectSource", Action="SelectSource")]
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

See Also

Reference

ITwainService Interface
ITwainService Members

Error processing SSI file