←Select platform

Init Method

Summary
Initializes the TWAIN service.

Syntax
C#
C++/CLI
Python
[WebInvokeAttribute(BodyStyle=2, 
   Method="POST", 
   RequestFormat=1, 
   ResponseFormat=1)] 
[OperationContractAttribute(Name="Init", 
   Action="Init", 
   AsyncPattern=false, 
   IsOneWay=false, 
   IsInitiating=true, 
   IsTerminating=false)] 
public string Init( 
   string manufacturer, 
   string productFamily, 
   string version, 
   string application, 
   object userData, 
   TwainStartupFlags startupFlags 
) 
public:  
   [WebInvokeAttribute(BodyStyle=2, 
      Method=L"POST", 
      RequestFormat=1, 
      ResponseFormat=1)] 
   [OperationContractAttribute(Name=L"Init", 
      Action=L"Init", 
      AsyncPattern=false, 
      IsOneWay=false, 
      IsInitiating=true, 
      IsTerminating=false)] 
   String^ Init( 
       String^ manufacturer, 
      String^ productFamily, 
      String^ version, 
      String^ application, 
      Object^ userData, 
      TwainStartupFlags^ startupFlags 
   ) 

Parameters

manufacturer
The manufacturer's name.

productFamily
The application product family.

version
The TWAIN version information.

application
The application name.

userData
The user data.

startupFlags Twain startup flags

Return Value

The created session id.

Requirements

Target Platforms

Help Version 22.0.2023.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 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.