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

Show in webframe

Run Method (IImageProcessingService)






Scanning session Id.
First page to process.
Last page to process. Pass -1 to process pages inclusively starting with firstPageNumber to the last page.
Name of the command to run.
Arguments passed to the command to be run.
User data object.
Applies a command to the image and pages in specified by the scanning session id.
Syntax
[WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest, 
   IsBodyStyleSetExplicitly=true, 
   IsRequestFormatSetExplicitly=true, 
   IsResponseFormatSetExplicitly=true, 
   Method="POST", 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json)]
[OperationContractAttribute(Name="Run", Action="Run")]
void Run( 
   string id,
   int firstPageNumber,
   int lastPageNumber,
   string commandName,
   string arguments,
   object userData
)
'Declaration
 
<WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest, 
   IsBodyStyleSetExplicitly=True, 
   IsRequestFormatSetExplicitly=True, 
   IsResponseFormatSetExplicitly=True, 
   Method="POST", 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json)>
<OperationContractAttribute(Name="Run", Action="Run")>
Sub Run( _
   ByVal id As String, _
   ByVal firstPageNumber As Integer, _
   ByVal lastPageNumber As Integer, _
   ByVal commandName As String, _
   ByVal arguments As String, _
   ByVal userData As Object _
) 
'Usage
 
Dim instance As IImageProcessingService
Dim id As String
Dim firstPageNumber As Integer
Dim lastPageNumber As Integer
Dim commandName As String
Dim arguments As String
Dim userData As Object
 
instance.Run(id, firstPageNumber, lastPageNumber, commandName, arguments, userData)

            

            
[WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest, 
   IsBodyStyleSetExplicitly=true, 
   IsRequestFormatSetExplicitly=true, 
   IsResponseFormatSetExplicitly=true, 
   Method="POST", 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json)]
[OperationContractAttribute(Name="Run", Action="Run")]
void Run( 
   String^ id,
   int firstPageNumber,
   int lastPageNumber,
   String^ commandName,
   String^ arguments,
   Object^ userData
) 

Parameters

id
Scanning session Id.
firstPageNumber
First page to process.
lastPageNumber
Last page to process. Pass -1 to process pages inclusively starting with firstPageNumber to the last page.
commandName
Name of the command to run.
arguments
Arguments passed to the command to be run.
userData
User data object.
Requirements

Target Platforms

See Also

Reference

IImageProcessingService Interface
IImageProcessingService Members

Error processing SSI file