Leadtools.Document Getting Started

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

.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
Leadtools.Document.dll Documents Library
Leadtools.Document.Raster.dll Raster support
Leadtools.Document.Pdf.dll PDF support
NuGet PackageDescription
Leadtools.Document.Sdk Document Imaging Library
Leadtools.Document.Viewer.WinForms Document Imaging Library for WinForms
Leadtools.Document.Viewer.Wpf Document Imaging Library for WPF

Sample Programs

Name Path Description
Document Analyzer Demo \Examples\Document\DotNet\DocumentAnalyzerDemo

Demonstrates creating and applying Document Analyzer rulesets.

  • Create ruleset files
  • Tools for rules construction to analyze document
  • Features a number of built-in rules
  • Redact sensitive information in a document
  • Collect vital information from a document
  • Option to export redacted documents
  • Option to export results
Document Converter Demo \Examples\Document\DotNet\DocumentConverterDemo

Demonstrates Document Converters support.

  • Convert to and from any document or raster image files
  • Perform document-to-document conversion at 100% accuracy without the need for OCR
  • Convert complex document objects and features
  • Automatically convert raster images to documents with OCR
Document Converter Folder Demo \Examples\Document\DotNet\DocumentConverterFolderDemo

Demonstrates Document Converters support.

  • Convert all files in a target folder
  • Convert to and from any document or raster image files
  • Perform document-to-document conversion at 100% accuracy without the need for OCR
  • Convert complex document objects and features
  • Automatically convert raster images to documents with OCR
Rasterize Document Demo \Examples\Document\DotNet\RasterizeDocumentDemo

Demonstrates controlling the options used for rastering document file formats with LEADTOOLS.

Document.Service \Examples\Document\DotNet\Document.Service
Animation Demo \Examples\Viewers\DotNet\AnimationDemo

Demonstrates LEADTOOLS Animation features

  • Load and save animated GIF files.
  • Create animations from scratch, frame by frame.
  • Control animation playback settings.
  • Render animations.
Document Viewer Demo \Examples\Viewers\DotNet\DocumentViewerDemo

Demonstrates Document Viewer support.

  • View document, vector, and raster image formats in one viewer
  • Document-specific interactive tools
  • View and edit complex document objects and features
  • Fully customizable user interface uses generic parent containers
  • Maximize performance and conserve system resources through efficient large-document paging and thumbnail browsing with configurable lazy-loading
  • Robust options and functions for managing local, global, and web cache on any device
Image Viewer Demo \Examples\Viewers\DotNet\ImageViewerDemo

Demonstrates the LEADTOOLS Image Viewer Control features.

  • Load and view raster or document files
  • Automatically detect raster or vector data in the input file
  • Load and view single or multi-page files
  • Zoom In/Out using interactive tools
  • Pan/Scroll using interactive tools
  • Set layout to single/double/horizontal/vertical
Universal Viewer Demo \Examples\Viewers\DotNet\LEADUniversalViewerDemo

View, search, and annotate documents in a cross-platform Viewer control.

Create, edit, and display annotations and mark-ups.

Magnify Glass Demo \Examples\Viewers\DotNet\MagnifyGlassDemo

Demonstrates the Magnify Glass.

Provides a means of "zooming in" on the image.

Medical Viewer Demo \Examples\Viewers\DotNet\MedicalViewerDemo

Demonstrates the DICOM/Medical image display functionality.

  • Load datasets from DICOM and DICOM Directory
  • Display images with full control over the cell/sub-cell layout
  • Interactive actions: WindowLevel, Pan, Zoom, Magnify Glass
  • Create, edit, and view image annotations
  • Advanced animation playback
Medical Viewer Layout Demo \Examples\Viewers\DotNet\MedicalViewerLayoutDemo

Demonstrates the customized layout support for DICOM/Medical image display functionality.

  • Create, edit, and save custom layouts
  • Preview layout with image data
  • Interactive actions: WindowLevel, Pan, Zoom, Magnify Glass
Databases \Examples\Viewers\DotNet\MedicalWebViewer\Databases
ExternalControlSample \Examples\Viewers\DotNet\MedicalWebViewer\ExternalControlSample
Medical.WebViewer.Addins \Examples\Viewers\DotNet\MedicalWebViewer\Medical.WebViewer.Addins
Medical.WebViewer.Annotations.DataAccessLayer \Examples\Viewers\DotNet\MedicalWebViewer\Medical.WebViewer.Annotations.DataAccessLayer
Medical.WebViewer.Asp \Examples\Viewers\DotNet\MedicalWebViewer\Medical.WebViewer.Asp
Medical.WebViewer.Core \Examples\Viewers\DotNet\MedicalWebViewer\Medical.WebViewer.Core
Medical.WebViewer.ExternalControl \Examples\Viewers\DotNet\MedicalWebViewer\Medical.WebViewer.ExternalControl
Medical.WebViewer.IdP \Examples\Viewers\DotNet\MedicalWebViewer\Medical.WebViewer.IdP
Medical.WebViewer.ImageDownloadAddin \Examples\Viewers\DotNet\MedicalWebViewer\Medical.WebViewer.ImageDownloadAddin
Medical.WebViewer.Jobs \Examples\Viewers\DotNet\MedicalWebViewer\Medical.WebViewer.Jobs
Medical.WebViewer.Jobs.DataAccessLayer \Examples\Viewers\DotNet\MedicalWebViewer\Medical.WebViewer.Jobs.DataAccessLayer
Medical.WebViewer.JobsCleanupAddin \Examples\Viewers\DotNet\MedicalWebViewer\Medical.WebViewer.JobsCleanupAddin
Medical.WebViewer.PatientAccessRights.DataAccessAgent \Examples\Viewers\DotNet\MedicalWebViewer\Medical.WebViewer.PatientAccessRights.DataAccessAgent
Medical.WebViewer.Wado \Examples\Viewers\DotNet\MedicalWebViewer\Medical.WebViewer.Wado
Medical.WebViewer.WCF \Examples\Viewers\DotNet\MedicalWebViewer\Medical.WebViewer.WCF
MedicalWebViewerDemo \Examples\Viewers\DotNet\MedicalWebViewer\MedicalWebViewerDemo
WebViewerConfiguration \Examples\Viewers\DotNet\MedicalWebViewer\WebViewerConfiguration
Viewer Overlay Demo \Examples\Viewers\DotNet\ViewerOverlayDemo

Demonstrates owner draw features of the LEADTOOLS Image Viewer Control.

  • Load and display images with the LEADTOOLS Image Viewer Control
  • Draw user-defined shapes on top of the LEADTOOLS Image Viewer Control
  • Pan, scroll, and zoom the display
Document Viewer Demo (WPF) \Examples\Viewers\DotNet\WPFDocumentViewerDemo

Demonstrates Document Viewer support.

  • View document, vector, and raster image formats in one viewer
  • Document-specific interactive tools
  • View and edit complex document objects and features
  • Fully customizable user interface uses generic parent containers
  • Maximize performance and conserve system resources through efficient large-document paging and thumbnail browsing with configurable lazy-loading
  • Robust options and functions for managing local, global, and web cache on any device
Pan Window Demo (WPF) \Examples\Viewers\DotNet\WPFPanWindowDemo

Demonstrates the LEADTOOLS WPF Viewer and Pan Windows features.

Load and display images using the automated pan window control.

Image List Demo (WPF) \Examples\Viewers\DotNet\WPFRasterImageListDemo

Demonstrates Image List Control features.

  • Browse a directory for all supported images
  • Generate thumbnails for files and display them in the LEADTOOLS Image List Control
  • Control the options for the Image List
WPF Viewer Overlay Demo \Examples\Viewers\DotNet\WPFViewerOverlayDemo

Demonstrates owner draw features of the LEADTOOLS WPF Image Viewer Control.

  • Load and display images with the LEADTOOLS WPF Image Viewer Control
  • Draw user-defined shapes on top of the LEADTOOLS WPF Image Viewer Control
  • Pan, scroll, and zoom the display

.NET Core

Sample Programs

Name Path Description
Document Converter Demo \Examples\Document\DotNetCore\DocumentConverterDemo

Demonstrates Document Converters support.

  • Convert to and from any document or raster image files
  • Perform document-to-document conversion at 100% accuracy without the need for OCR
  • Convert complex document objects and features
  • Automatically convert raster images to documents with OCR

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.document.jar Core library

Android

libleadtools.so

iOS/macOS

Leadtools.framework

Linux

libltkrn.so

Windows

Ltkrnu.dll

Ltkrnx.dll

leadtools.document.raster.jar Raster support
leadtools.document.pdf.jar PDF support

Sample Programs

Name Path Description
Viewer Demo (Android) \Examples\Viewers\Android\ViewerDemo

Demonstrates using the LEADTOOLS Image Viewer to display images

Document.Service (Java) \Examples\Document\Java\Document.Service
Document Converter Demo (Java) \Examples\Document\Java\DocumentConverterDemo

Demonstrates Document Converters support.

  • Convert to and from any document or raster image files
  • Perform document-to-document conversion at 100% accuracy without the need for OCR
  • Convert complex document objects and features
  • Automatically convert raster images to documents with OCR
Document Converter Folder Demo (Java) \Examples\Document\Java\DocumentConverterFolderDemo

Demonstrates Document Converters support.

  • Convert to and from any document or raster image files
  • Uses multithreading to convert all supported files found in the source folder
  • Perform document-to-document conversion at 100% accuracy without the need for OCR
  • Convert complex document objects and features
  • Automatically convert raster images to documents with OCR

JavaScript HTML5

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

  • Leadtools.Document.js
  • Leadtools.Document.d.ts

Sample Programs

Name Path Description
DocumentServiceDotNet \Examples\Document\JS\DocumentServiceDotNet
\Examples\Document\JS\DocumentServiceDotNet\core
\Examples\Document\JS\DocumentServiceDotNet\fx
DocumentServiceJava \Examples\Document\JS\DocumentServiceJava
DocumentCompareDemo \Examples\Viewers\JS\DocumentCompareDemo
Document Composer Demo \Examples\Viewers\JS\DocumentComposerDemo

Demonstrates the ability to construct a new document from the pages of other documents.

Pages can be re-ordered, added, or deleted.

Document Viewer Demo \Examples\Viewers\JS\DocumentViewerDemo

Demonstrates using the LEADTOOLS Document Viewer SDK with HTML5 / JavaScript.

  • Load a document from local disk or a url
  • Draw annotations on the document
  • Use thumbnail viewer
  • Interactive zooming/panning
JavaScript Document Viewer Simple Demo \Examples\Viewers\JS\DocumentViewerSimpleDemo

Demonstrates simplicity of the JavaScript Document Viewer.

Viewer Demo \Examples\Viewers\JS\ViewerDemo

Demonstrates using the LEADTOOLS Image Viewer in HTML5 / JavaScript.

  • Load image from URL
  • Rotate
  • Zoom
  • Flip horizontal/vertical
  • Save image
Drag and Drop Demo \Examples\Viewers\JS\ViewerDragDropDemo

Demonstrates how the LEADTOOLS Image Viewer supports both the native HTML Drag and Drop and a custom item-based mode for both desktop and mobile devices.

Viewer Inline Demo \Examples\Viewers\JS\ViewerInlineDemo

Demonstrates how an Image Viewer component can be embedded on a page with minimal configuration.

Viewer Simple Demo \Examples\Viewers\JS\ViewerSimpleDemo

Demonstrates the use of typescript with LEADTOOLS with a simple web viewer example.

Viewer Styles Demo \Examples\Viewers\JS\ViewerStylesDemo

Demonstrates how the Elements Mode of the LEADTOOLS ImageViewer can respond to CSS transitions.

Viewer Thumbnails Demo \Examples\Viewers\JS\ViewerThumbnailsDemo

Demonstrates the thumbnail viewer using a simple thumbnail viewer and viewer example in the browser.

LEADVIEW_DocumentViewerDemo \Examples\Viewers\JS\LEADVIEW_DocumentViewerDemo
LEADVIEW_RedactDemo \Examples\Viewers\JS\LEADVIEW_RedactDemo

Xamarin

Sample Programs

Name Path Description
Demos.Document.Xamarin \Examples\Document\Xamarin\Demos.Document.Xamarin
Document Viewer Demo \Examples\Viewers\Xamarin\DocumentViewerDemo

Demonstrates OCR support.

Shows how to use the LEADTOOLS OCR SDK to scan and extract text from image documents.

DocScanner \Examples\Viewers\Xamarin\DocScanner

iOS and macOS

Sample Programs

Name Path Description
Viewer Demo \Examples\Viewers\Xcode\iOS\Objective-C\ViewerDemo

Demonstrates using the LEADTOOLS Image Viewer to display images

\Examples\Viewers\Xcode\iOS\Swift\ViewerDemo
\Examples\Viewers\Xcode\macOS\Objective-C\ViewerDemo
\Examples\Viewers\Xcode\macOS\Swift\ViewerDemo

See Also

Cloud Services

Does your application require document recognition or conversion, but its implementation language is preventing you from using LEADTOOLS directly? Consider using the LEADTOOLS Cloud Services Web API instead. It is a high-powered and scalable Web API. Its hassle-free interface can be used to integrate advanced OCR, barcode, MICR, and document conversion into any application.

Reference

Introduction

Getting Started (Guide to Example Programs)

Document Library Features

Version History

Leadtools.Document 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.Document Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.