Leadtools.Document.Writer Getting Started

Summary

The Leadtools.Document.Writer assembly adds support for creating popular multipage and searchable documents (including Adobe PDF, Microsoft Word, and HTML), from standard Windows Enhanced Meta File (EMF) objects.

.NET
.NET Framework
iOS and macOS
Java/Android

.NET

Redistributables Paths

Path Target Platform
<installdir>\Bin\net .NET 6+

Dependencies

Library Description Dependencies
Leadtools.Document.Writer.dll Tools for creating popular multipage and searchable documents (such as Adobe PDF, Microsoft Word, and HTML), from standard Windows Enhanced Meta File (EMF) objects. Leadtools.dll
NuGet PackageDescription
Leadtools.Document.Writer NuGet Package

Sample Programs

Demo Name Source Code Path Pre-Compiled Executable Path Description
Document Writers \Examples\DocumentWriter\DotNet\DocumentWriterDemo\net \Bin\net\DocumentWriterDemo_Original.exe

Demonstrates Document Writers support.

  • Utilize the SVG file format to convert its vector-based objects into various searchable and editable formats
  • Convert output from printers to searchable and editable document formats
  • Convert SVG to searchable and editable document formats
  • Convert LEADTOOLS Annotations to editable document formats
Demo Name Source Code Path Pre-Compiled Executable Path Description
LTD Merge \Examples\DocumentWriter\DotNet\LTDMergeDemo\net \Bin\net\LTDMergeDemo_Original.exe

Demonstrates LEADTOOLS document writer LTD merge capabilities.

The LEADTOOLS LTD Merge Demo shows how to merge multiple LTD files into one and then convert that merged LTD file into any of the supported document writer formats.

Demo Name Source Code Path Description
OCR \Examples\OCR\DotNet\OCRCLIDemo\net

Demonstrates OCR support.

  • Convert raster images to document files
  • Recognize text from over 40 languages
  • Spell checking and dictionary support
  • Automatically detect, segment, and recognize multiple languages on the same document
  • Full page analysis and zonal recognition
  • Automatic document cleanup and pre-processing
Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR Auto Recognize \Examples\OCR\DotNet\OcrAutoRecognizeDemo\net \Bin\net\OcrAutoRecognizeDemo_Original.exe

Demonstrates the high-level LEADTOOLS OCR Auto Recognize support.

  • Performs high-level OCRing from an input image file to a final document, such as PDF or DOCX.
  • Convert the document in one shot.
  • Various events and a logging mechanism can be used to modify and track the recognition operation.
Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR \Examples\OCR\DotNet\OcrDemo\net \Bin\net\OcrDemo_Original.exe

Demonstrates OCR support.

  • Convert raster images to document files
  • Recognize text from over 40 languages
  • Spell checking and dictionary support
  • Automatically detect, segment, and recognize multiple languages on the same document
  • Full page analysis and zonal recognition
  • Automatic document cleanup and pre-processing
Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR Edit \Examples\OCR\DotNet\OcrEditDemo\net \Bin\net\OcrEditDemo_Original.exe

Demonstrates OCR words/characters update support for all supported OCR engines.

  • Update words or characters in the recognized page before saving them to the desired document format.
  • Delete words from the recognized page before saving them to the desired document format.
  • Highlight recognized words.
Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR Modules \Examples\OCR\DotNet\OcrModulesDemo\net \Bin\net\OcrModulesDemo_Original.exe

Demonstrates using the MICR, ICR, and OMR recognition modules.

Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR Multi-Threading \Examples\OCR\DotNet\OcrMultithreadingDemo\net \Bin\net\OcrMultiThreadingDemo_Original.exe

Demonstrates using LEADTOOLS OCR in a multi-threaded application.

Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR Screen Capture \Examples\OCR\DotNet\OcrScreenCaptureDemo\net \Bin\net\OcrScreenCaptureDemo_Original.exe

Demonstrates combining LEADTOOLS Screen Capture, OCR, Document Writers, and Image Viewer Control into one application.

  • Capture selected area, window or full-screen
  • Convert to RTF using LEADTOOLS OCR engine and Document Writers
  • Display the image using the LEADTOOLS Image Viewer control
  • Copy RTF and image data to the clipboard
  • Draw on the image using a pen or brush
Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR Settings \Examples\OCR\DotNet\OcrSettingsDemo\net \Bin\net\OcrSettingsDemo_Original.exe

Demonstrates programmatically controlling the various LEADTOOLS OCR engine settings.

Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR TWAIN Scanning \Examples\OCR\DotNet\OcrTwainScanningDemo\net \Bin\net\OcrTwainScanningDemo_Original.exe

Demonstrates combining OCR and TWAIN scanning into one demo.

  • Acquire images from a TWAIN device
  • Perform OCR on the scanned image
  • Save the recognition results
Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR Zones RubberBand \Examples\OCR\DotNet\OcrZonesRubberBandDemo\net \Bin\net\OcrZonesRubberBandDemo_Original.exe

Demonstrates zonal OCR based on a user-defined rectangle.

  • Load an image from a file
  • Draw a user-defined zone using the LEADTOOLS viewer control's rubber-band feature
  • Perform zonal OCR based on the user-defined zone
  • Save the recognition results
Demo Name Source Code Path Pre-Compiled Executable Path Description
OMR Processing \Examples\OCR\DotNet\OmrProcessingDemo\net \Bin\net\OmrProcessingDemo_Original.exe

Demonstrates functionality that intelligently analyzes the bubbles to automatically determine question groups and multiple-choice answer sets so that users can rapidly define master forms.

Load an image from a file.

Draw a user-defined zone to select multiple bubble sheets.

Compare filled in form data to master form template.

.NET Framework

Redistributables Paths

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

Dependencies

Library Description Dependencies
Leadtools.Document.Writer.dll Tools for creating popular multipage and searchable documents (such as Adobe PDF, Microsoft Word, and HTML), from standard Windows Enhanced Meta File (EMF) objects. Leadtools.dll
NuGet PackageDescription
Leadtools.Document.Writer NuGet Package

Sample Programs

Demo Name Source Code Path Pre-Compiled Executable Path Description
Document Writers \Examples\DocumentWriter\DotNet\DocumentWriterDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\DocumentWriterDemo.exe

Demonstrates Document Writers support.

  • Utilize the SVG file format to convert its vector-based objects into various searchable and editable formats
  • Convert output from printers to searchable and editable document formats
  • Convert SVG to searchable and editable document formats
  • Convert LEADTOOLS Annotations to editable document formats
Demo Name Source Code Path Pre-Compiled Executable Path Description
LTD Merge \Examples\DocumentWriter\DotNet\LTDMergeDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\LTDMergeDemo.exe

Demonstrates LEADTOOLS document writer LTD merge capabilities.

The LEADTOOLS LTD Merge Demo shows how to merge multiple LTD files into one and then convert that merged LTD file into any of the supported document writer formats.

Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR Auto Recognize \Examples\OCR\DotNet\OcrAutoRecognizeDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\OcrAutoRecognizeDemo.exe

Demonstrates the high-level LEADTOOLS OCR Auto Recognize support.

  • Performs high-level OCRing from an input image file to a final document, such as PDF or DOCX.
  • Convert the document in one shot.
  • Various events and a logging mechanism can be used to modify and track the recognition operation.
Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR \Examples\OCR\DotNet\OcrDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\OcrDemo.exe

Demonstrates OCR support.

  • Convert raster images to document files
  • Recognize text from over 40 languages
  • Spell checking and dictionary support
  • Automatically detect, segment, and recognize multiple languages on the same document
  • Full page analysis and zonal recognition
  • Automatic document cleanup and pre-processing
Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR Edit \Examples\OCR\DotNet\OcrEditDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\OcrEditDemo.exe

Demonstrates OCR words/characters update support for all supported OCR engines.

  • Update words or characters in the recognized page before saving them to the desired document format.
  • Delete words from the recognized page before saving them to the desired document format.
  • Highlight recognized words.
Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR Modules \Examples\OCR\DotNet\OcrModulesDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\OcrModulesDemo.exe

Demonstrates using the MICR, ICR, and OMR recognition modules.

Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR Multi-Threading \Examples\OCR\DotNet\OcrMultithreadingDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\OcrMultiThreadingDemo.exe

Demonstrates using LEADTOOLS OCR in a multi-threaded application.

Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR Screen Capture \Examples\OCR\DotNet\OcrScreenCaptureDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\OcrScreenCaptureDemo.exe

Demonstrates combining LEADTOOLS Screen Capture, OCR, Document Writers, and Image Viewer Control into one application.

  • Capture selected area, window or full-screen
  • Convert to RTF using LEADTOOLS OCR engine and Document Writers
  • Display the image using the LEADTOOLS Image Viewer control
  • Copy RTF and image data to the clipboard
  • Draw on the image using a pen or brush
Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR Settings \Examples\OCR\DotNet\OcrSettingsDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\OcrSettingsDemo.exe

Demonstrates programmatically controlling the various LEADTOOLS OCR engine settings.

Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR TWAIN Scanning \Examples\OCR\DotNet\OcrTwainScanningDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\OcrTwainScanningDemo.exe

Demonstrates combining OCR and TWAIN scanning into one demo.

  • Acquire images from a TWAIN device
  • Perform OCR on the scanned image
  • Save the recognition results
Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR Zones RubberBand \Examples\OCR\DotNet\OcrZonesRubberBandDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\OcrZonesRubberBandDemo.exe

Demonstrates zonal OCR based on a user-defined rectangle.

  • Load an image from a file
  • Draw a user-defined zone using the LEADTOOLS viewer control's rubber-band feature
  • Perform zonal OCR based on the user-defined zone
  • Save the recognition results
Demo Name Source Code Path Pre-Compiled Executable Path Description
OMR Processing \Examples\OCR\DotNet\OmrProcessingDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\OmrProcessingDemo.exe

Demonstrates functionality that intelligently analyzes the bubbles to automatically determine question groups and multiple-choice answer sets so that users can rapidly define master forms.

Load an image from a file.

Draw a user-defined zone to select multiple bubble sheets.

Compare filled in form data to master form template.

Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR SharePoint \Examples\OCR\DotNet\OcrSharePointDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\OcrSharePointDemo.exe

Demonstrates SharePoint Client functionality.

OCR an image and store the recognition results in a SharePoint repository.

iOS and macOS

Redistributables Paths

Path Target Platform
<installdir>\Bin\Xcode\XCFrameworks\iOS iOS
<installdir>\Bin\Xcode\Frameworks\macOS macOS

Dependencies

Library Description Dependencies
Leadtools.Document.Writer.framework Tools for creating popular multipage and searchable documents such as Adobe PDF and Microsoft Word from OCR results. Leadtools.framework
Leadtools.Svg.framework

Sample Programs

Demo Name Source Code Path Description
MICR \Examples\OCR\Xcode\iOS\<Objective-C/Swift>\MicrDemo

Demonstrates using Forms Recognition and Processing to recognize bank checks.

Detect the location of and recognize the data in fields from bank check images, including:

  • MICR data
  • Payee information
  • Check date
  • Amount
  • Signature area
  • Payee information
Demo Name Source Code Path Description
OCR \Examples\OCR\Xcode\<iOS/macOS>\<Objective-C/Swift>\OcrDemo

Demonstrates OCR support.

  • Convert raster images to document files
  • Recognize text from over 40 languages
  • Spell checking and dictionary support
  • Automatically detect, segment, and recognize multiple languages on the same document
  • Full page analysis and zonal recognition
  • Automatic document cleanup and pre-processing
Demo Name Source Code Path Description
OCR Command-Line \Examples\OCR\Xcode\macOS\<Objective-C/Swift>\OcrCommandLineDemo

Demonstrates OCR support. Recognizes an input image and saves the recognition results into one of the supported document formats:

  • PDF/PDFA with options for image-over-text and embedded fonts
  • DOCX with options for framed text
  • RTF with options for framed text
  • TXT with options for formatted text
  • SVG
  • ALTO_XML

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\CDLL\Win32 (Windows) x86 Windows
<installdir>\Bin\CDLL\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.writer.jar Core library leadtools.jar Android:
libleadtools.document.writer.so
libleadtools.so
iOS/macOS:
Leadtools.Document.Writer.framework
Leadtools.framework
Linux:
libltdocwrt.so
libltkrn.so
Windows:
LTDocWrtAltou.dll (Win32 ALTOXML Support) / LTDocWrtAltox.dll (x64 ALTOXML Support)
LTDocWrtDocu.dll (Win32 DOC Support) / LTDocWrtDocx.dll (x64 DOC Support)
LTDocWrtDocxu.dll (Win32 DOCX Support) / LTDocWrtDocxx.dll (x64 DOCX Support)
LTDocWrtEmfu.dll (Win32 EMF Support) / LTDocWrtEmfx.dll (x64 EMF Support)
LTDocWrtHtmu.dll (Win32 HTML Support) / LTDocWrtHtmx.dll (x64 HTML Support)
LTDocWrtPdfu.dll (Win32 PDF Support) / LTDocWrtPdfx.dll (x64 PDF Support)
LTDocWrtRtfu.dll (Win32 RTF Support) / LTDocWrtRtfx.dll (x64 RTF Support)
LTDocWrtTtfu.dll (Win32 TTF Support) / LTDocWrtTtfx.dll (x64 TTF Support)
LTDocWrtTxtu.dll (Win32 TXT Support) / LTDocWrtTxtx.dll (x64 TXT Support)
LTDocWrtu.dll (Win32) / LTDocWrtx.dll (x64)
LTDocWrtXlsu.dll (Win32 XLS Support) / LTDocWrtXlsx.dll (x64 XLS Support)
LTDocWrtXpsu.dll (Win32 XPS Support) / LTDocWrtXpsx.dll (x64 XPS Support)
Ltkrnu.dll (Win32) / Ltkrnx.dll (x64)

Sample Programs

Demo Name Source Code Path Description
MICR (Android) \Examples\OCR\Android\MicrDemo

Demonstrates using the MICR Code Reader to scan MICR Codes from images

Demo Name Source Code Path Description
OCR (Android) \Examples\OCR\Android\OcrDemo

Demonstrates OCR support.

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

Demo Name Source Code Path Description
OCR (Java) \Examples\OCR\Java\OcrDemo

Demonstrates OCR support.

  • Performs OCR on an input image.
  • Output the results to any of the supported document file formats, including PDF.
  • Specify the language for OCR detection.
Demo Name Source Code Path Description
OCR UI (Java) \Examples\OCR\Java\OcrUiDemo

Demonstrates OCR support in a desktop application.

  • Convert raster images to document files.
  • Recognize text from over 40 languages
  • Spell checking and dictionary support
  • Full page analysis and Zonal recognition
  • Automatic document cleanup and pre-processing

See Also

Reference

Introduction

Programming with LEADTOOLS Document Writers

Version History

Leadtools.Document.Writer Assembly Changes

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

Leadtools.Document.Writer Assembly

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