←Select platform

Initialize Method

Summary

Initializes the LEADTOOLS class library for use.

Syntax
C#
VB
C++
Java
// .NET Standard 
public static void Initialize(object applicationContext) 
'.NET Standard 
Public Shared Sub Initialize(Object applicationContext)  
public static void initialize(Context context) 
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 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly