←Select platform

Assembly Class

Summary

Utility class to force dynamic loading of this assembly in the MAUI and Xamarin platforms.

Syntax
C#
C++/CLI
Python
public static class Assembly 
public: 
   ref class Assembly sealed abstract 
class Assembly: 
Remarks

Xamarin Framework Deprecation

As of LEADTOOLS v23, The cross-platform Xamarin framework has been deprecated and replaced with LEADTOOLS .NET MAUI framework.

For any LEADTOOLS Xamarin apps you have already built, we recommend you migrate to the LEADTOOLS .NET MAUI framework. To help you with the migration, review the LEADTOOLS .NET MAUI tutorials to get you started.

This change is driven by Microsoft's announcement to end Xamarin support.

The Xamarin iOS compiler tries to strip out any assemblies that are not directly referenced in the project source. When developing for Xamarin iOS, if the application's linker setting is set to anything other than Don't Link, you must call Assembly.Use.

Therefore, if the application is using any of the assemblies in the table below indirectly, a call to the corresponding Assembly.Use must be added in the source code.

.NetStandard Assembly Usage
Leadtools.Core Leadtools.Core.Assembly.Use();
Leadtools.Ocr.LEADEngine Leadtools.Ocr.LEADEngine.Assembly.Use();
Leadtools.Svg Leadtools.Svg.Assembly.Use();
Leadtools.Forms.Recognition.Ocr Leadtools.Forms.Recognition.Ocr.Assembly.Use();
Leadtools.Forms.Recognition.Barcode Leadtools.Forms.Recognition.Barcode.Assembly.Use();
Requirements

Target Platforms

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