←Select platform

Run(String,Int32,Int32,String,String,Object) Method

Summary
Applies a command to the image and pages in specified by the scanning session id.
Syntax
C#
VB
Java
public void Run(  
   string id, 
   int firstPageNumber, 
   int lastPageNumber, 
   string commandName, 
   string arguments, 
   object userData 
) 
Public Overloads 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 _ 
)  
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

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

Leadtools.Sane.Server Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.