Leadtools Getting Started

Summary

The Leadtools namespace provides libraries with properties, methods, events, structures and interfaces for building applications with LEADTOOLS SDKs. It is required in all applications.

.NET
.NET Core
iOS and macOS
Java/Android
JavaScript HTML5
Xamarin

.NET

Redistributables Paths

Path Target Platform
<installdir>\Redist\DotNet4\Win32 x86 .NET 4 or 4.5
<installdir>\Redist\DotNet4\x64 x64 .NET 4 or 4.5

Dependencies

Library Description Dependencies
Leadtools.dll Core Library -
NuGet PackageDescription
Leadtools.Barcode Barcode Library to Detect, Read, and Write 1D and 2D Barcodes
Leadtools.Document.Sdk Document Imaging Library
Leadtools.Document.Viewer.WinForms Document Imaging Library for WinForms
Leadtools.Document.Viewer.Wpf Document Imaging Library for WPF
Leadtools.Formats.Document Document Formats Library
Leadtools.Formats.Raster.Additional Additional Raster File Formats Library
Leadtools.Formats.Raster.Camera Camera File Formats Library
Leadtools.Formats.Raster.Common Common Raster File Formats Library
Leadtools.Formats.Vector Vector Formats Library
Leadtools.Image.Processing Image Processing Library
Leadtools.Ocr OCR Library
Leadtools.Ocr.Languages.Additional OCR Library plus Additional Languages
Leadtools.Ocr.Languages.Asian OCR Library plus Additional Asian Languages
Leadtools.Pdf PDF Library

Sample Programs

Name Path Description
Draw Demo \Examples\Main\DotNet\DrawDemo

Demonstrates using RasterImage object as a drawing surface.

  • Gets a drawing surface for the LEADTOOLS RasterImage object.
  • Draws graphic objects on the RasterImage object.
  • Saves the updated image.
Main Demo \Examples\Main\DotNet\MainDemo

Demonstrates many of the basic and advanced core features of LEADTOOLS.

  • Load and save all formats supported by LEADTOOLS
  • Display (scroll/zoom) images with options, including Animation
  • Apply Image Processing
  • Capture images from the screen
  • Acquire images from TWAIN and WIA scanners
  • Print images
  • Copy/paste images to and from the clipboard
Paint While Load Demo \Examples\Main\DotNet\PaintWhileLoadDemo

Demonstrates painting an image to the screen while loading/decoding.

Simulates receiving an image file over a slow connection.

Paints the image in chunks, as it is loaded/decoded.

Print Preview Demo \Examples\Main\DotNet\PrintPreviewDemo

Demonstrates implementing image print preview support using LEADTOOLS.

Main Demo (WPF) \Examples\Main\DotNet\WPFMainDemo

Demonstrates many of the basic and advanced core features of LEADTOOLS WPF.

  • Load and save all formats supported by LEADTOOLS
  • Display (scroll/zoom) images with options
  • Apply Image Processing

Supported File Formats

File Format Description Redistributables
See file formats listed in Leadtools.Codecs See Leadtools.Codecs See redistributables for Leadtools.Codecs

.NET Core

Sample Programs

Name Path Description
ASP.NET Controller Demo \Examples\Main\DotNetCore\AspNetControllerDemo

Demonstrates using the LEADTOOLS .NET Core NuGet packages to create an ASP.NET RESTful service and showcases how to use LEADTOOLS within a .NET Core Web API environment.

Has three controller endpoints showcasing different LEADTOOLS engines:

/Barcode/RecognizeBarcodes

/Convert/ConvertImage

/Ocr/GetText

You can use the following sample urls to test:

/Barcode/RecognizeBarcodes?uri=https://demo.leadtools.com/images/tiff/barcode1.tif

/Convert/ConvertImage?uri=https://demo.leadtools.com/images/pdf/leadtools.pdf

/Ocr/GetText?uri=https://demo.leadtools.com/images/tiff/ocr1.tif

iOS and macOS

Redistributables Paths

Path Target Platform
<installdir>\Bin<Version>\Xcode\iOS iOS
<installdir>\Bin<Version>\Xcode\macOS macOS

 

Dependencies

Library Description Dependencies
Leadtools.framework Core Library Leadtools.Kernel.framework

Supported File Formats

File Format Description Redistributables
See file formats listed in Leadtools.Codecs See Leadtools.Codecs See redistributables for Leadtools.Codecs

Sample Programs

Name Path Description
C Application \Examples\Main\Xcode\iOS\Objective-C\C Application
\Examples\Main\Xcode\iOS\Swift\C Application

Java/Android

Redistributables Paths

Path Target Platform
<installdir>\Bin\Android\x86_64 (Android) x86_64 Android
<installdir>\Bin\Android\x86 (Android) x86 Android
<installdir>\Bin\Android\arm64-v8a (Android) arm64-v8a Android
<installdir>\Bin\Android\armeabi-v7a (Android) armeabi-v7a Android
<installdir>\Bin\Android\armeabi (Android) armeabi Android
<installdir>\Bin\CDLLVC10\Win32 (Windows) x86 Windows
<installdir>\Bin\CDLLVC10\x64 (Windows) x64 Windows
<installdir>\Bin\Lib\x86 (Linux) x86 Linux
<installdir>\Bin\Lib\x64 (Linux) x64 Linux

Dependencies

Library Description Jars Native Libraries
leadtools.jar Core Library

Android

libleadtools.so

iOS/macOS

Leadtools.framework

Linux

libltkrn.so

Windows

Ltkrnu.dll

Ltkrnx.dll

Sample Programs

Name Path Description
LeadtoolsDemos (Android) \Examples\Main\Android\LeadtoolsDemos
Main Demo (Java) \Examples\Main\Java\MainDemo

Demonstrates the basic and core features of LEADTOOLS.

  • Load and save all formats supported by LEADTOOLS
  • Apply Image Processing

Supported File Formats

File Format Description Redistributables
See file formats listed in Leadtools.Codecs See Leadtools.Codecs See redistributables for Leadtools.Codecs

JavaScript HTML5

Refer to Leadtools HTML5 - Getting Started for information on JavaScript and TypeScript HTML5 support:

  • Leadtools.js
  • Leadtools.d.ts

Sample Programs

Name Path Description
Annotations.JavaScript \Examples\Main\JS\DemoLibraries\Annotations.JavaScript
Annotations.UserMedicalPack \Examples\Main\JS\DemoLibraries\Annotations.UserMedicalPack
Demos \Examples\Main\JS\DemoLibraries\Demos
Demos.Annotations \Examples\Main\JS\DemoLibraries\Demos.Annotations
Demos.Basic \Examples\Main\JS\DemoLibraries\Demos.Basic
Demos.Styles \Examples\Main\JS\DemoLibraries\Demos.Styles
DemoServices \Examples\Main\JS\DemoServices
\Examples\Main\JS\DemoServices\core
\Examples\Main\JS\DemoServices\fx
LeadtoolsServicesHostManager \Examples\Main\JS\LeadtoolsServicesHostManager

Xamarin

Sample Programs

Name Path Description
Demos.Xamarin \Examples\Main\Xamarin\Demos.Xamarin

See Also

Reference

Tutorials

Installation and Technical Support

Unlocking Special LEAD Features

Raster Topics Summary

Image Processing Topics Summary

Version History

Leadtools Assembly Changes

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

Leadtools Assembly

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