←Select platform

Initialize Method

Summary
Initializes the LEADTOOLS class library for use.
Syntax
C#
C++/CLI
Java
// .NET Standard 
public static void Initialize(object applicationContext) 
public static void initialize( 
   java.lang.Object object 
); 
public: 
static void Initialize();  

Parameter

applicationContext

For Xamarin, pass your application context that derives from Xamarin.Forms.Page or Android.App.Activity.

Remarks

If you set a valid runtime license for your application using SetLicense, then you do not need to call this static method.

If you do not set a valid runtime license for your application using SetLicense, then you must call this static method prior to using any other LEADTOOLS functionality. This method must be called from the main / UI thread of your application. Failure to call this method as described above will cause other LEADTOOLS methods to throw a Kernel Expired exception or behave in an undefined manner.

Requirements

Target Platforms

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

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