Acquire Method (ITwainService)
Summary
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,
Leadtools.Twain.TwainUserInterfaceFlags flags,
object userData
)
<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 Leadtools.Twain.TwainUserInterfaceFlags, _
ByVal userData As Object _
)
[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,
Leadtools.Twain.TwainUserInterfaceFlags flags,
Object^ userData
)
Parameters
id
The scanning session Id.
flags
Indicates whether to display the manufacturer's user interface.