←Select platform

DocumentReaderType Enumeration

Summary

Indicates the document reader type.

Syntax

C#
VB
C++
[DataContractAttribute(Name="DocumentReaderType")] 
public enum DocumentReaderType 
  
Public Enum DocumentReaderType  
   Inherits System.Enum 
   Implements System.IComparable, System.IConvertible, System.IFormattable  
public enum class DocumentReaderType : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable   

Members

MemberDescription
0Raster

Default document reader responsible for parsing any type of document not supported by the other types.

1Pdf

Document reader responsible for parsing Adobe Acrobat Format (PDF) documents.

2Xps

Document reader responsible for parsing Microsoft Open XML Paper Specification (XPS) documents.

Remarks

The DocumentReaderType enumeration is used by the following members:

The various document readers will parse text differently. Currently, LEADTOOLS ships with the following document readers:

  • DocumentReaderType.Pdf: This the document reader responsible for parsing PDF documents. PDF document text is parsed without the need of an OCR engine. PDF support is provided through the Leadtools.Forms.DocumentReaders.Pdf assembly.

  • DocumentReaderType.Xps: This the document reader responsible for parsing XPS documents. XPS document text is parsed without the need of an OCR engine. XPS support is provided through the Leadtools.Forms.DocumentReaders.Xps assembly.

  • DocumentReaderType.Raster: This the document reader responsible for parsing everything else, such as TIFF and JPEG documents An OCR engine is required to parse the text of the document (by passing a started object of type Leadtools.Forms.Ocr.IOcrEngine to DocumentObjectManager.BeginParse. Raster support is provided through the Leadtools.Forms.DocumentReaders.Raster assembly.

LEADTOOLS will add more document readers and functionality in the near future for documents such as DICOM, DOC/DOCX(2007/2010), XLS/XLSX(2007/2010) and RTF.

More objects types such as images, bookmarks, hyperlinks and annotations will also be added in the near future.

Example

For an example, refer to DocumentReader.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.DocumentReaders Assembly