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

Show in webframe

Acquire Method (ITwainService)






The scanning session Id.
Indicates whether to display the manufacturer's user interface.
The user data.
Acquires images from the selected source.
Syntax
[WebInvokeAttribute(Method="POST", 
   BodyStyle=WebMessageBodyStyle.WrappedRequest, 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json, 
   IsBodyStyleSetExplicitly=true, 
   IsRequestFormatSetExplicitly=true, 
   IsResponseFormatSetExplicitly=true)]
[OperationContractAttribute(Name="Acquire", Action="Acquire")]
void Acquire( 
   string id,
   TwainUserInterfaceFlags flags,
   object userData
)
'Declaration
 
<WebInvokeAttribute(Method="POST", 
   BodyStyle=WebMessageBodyStyle.WrappedRequest, 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json, 
   IsBodyStyleSetExplicitly=True, 
   IsRequestFormatSetExplicitly=True, 
   IsResponseFormatSetExplicitly=True)>
<OperationContractAttribute(Name="Acquire", Action="Acquire")>
Sub Acquire( _
   ByVal id As String, _
   ByVal flags As TwainUserInterfaceFlags, _
   ByVal userData As Object _
) 
'Usage
 
Dim instance As ITwainService
Dim id As String
Dim flags As TwainUserInterfaceFlags
Dim userData As Object
 
instance.Acquire(id, flags, userData)

            

            
[WebInvokeAttribute(Method="POST", 
   BodyStyle=WebMessageBodyStyle.WrappedRequest, 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json, 
   IsBodyStyleSetExplicitly=true, 
   IsRequestFormatSetExplicitly=true, 
   IsResponseFormatSetExplicitly=true)]
[OperationContractAttribute(Name="Acquire", Action="Acquire")]
void Acquire( 
   String^ id,
   TwainUserInterfaceFlags flags,
   Object^ userData
) 

Parameters

id
The scanning session Id.
flags
Indicates whether to display the manufacturer's user interface.
userData
The user data.
Requirements

Target Platforms

See Also

Reference

ITwainService Interface
ITwainService Members

Error processing SSI file