←Select platform

Run Method

Summary
Applies a command to the image and pages in specified by the scanning session id.

Syntax
C#
C++/CLI
Python
[OperationContractAttribute(Name="Run", 
   Action="Run", 
   AsyncPattern=false, 
   IsOneWay=false, 
   IsInitiating=true, 
   IsTerminating=false)] 
[WebInvokeAttribute(BodyStyle=2, 
   Method="POST", 
   RequestFormat=1, 
   ResponseFormat=1)] 
public void Run( 
   string id, 
   int firstPageNumber, 
   int lastPageNumber, 
   string commandName, 
   string arguments, 
   object userData 
) 
public:  
   [OperationContractAttribute(Name=L"Run", 
      Action=L"Run", 
      AsyncPattern=false, 
      IsOneWay=false, 
      IsInitiating=true, 
      IsTerminating=false)] 
   [WebInvokeAttribute(BodyStyle=2, 
      Method=L"POST", 
      RequestFormat=1, 
      ResponseFormat=1)] 
   void Run( 
       String^ id, 
      Int32 firstPageNumber, 
      Int32 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

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Services.Twain Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.