Leadtools.Services.Forms.DataContracts Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
OcrDocumentFormatType Enumeration
See Also  
Leadtools.Services.Forms.DataContracts Namespace : OcrDocumentFormatType Enumeration



The document formats supported by the LEADTOOLS OCR toolkit.

Syntax

Visual Basic (Declaration) 
<DataContractAttribute(Namespace="http://Leadtools.Services.Forms.DataContracts/2009/01", Name="OcrDocumentFormatType")>
Public Enum OcrDocumentFormatType 
   Inherits Enum
Visual Basic (Usage)Copy Code
Dim instance As OcrDocumentFormatType
C# 
[DataContractAttribute(Namespace="http://Leadtools.Services.Forms.DataContracts/2009/01", Name="OcrDocumentFormatType")]
public enum OcrDocumentFormatType : Enum 
C++/CLI 
[DataContractAttribute(Namespace="http://Leadtools.Services.Forms.DataContracts/2009/01", Name="OcrDocumentFormatType")]
public enum class OcrDocumentFormatType : public Enum 

Members

MemberDescription
TextAnsiThe output text document type is ANSI (contains 8-bit ANSI characters only).
TextUnicodeThe output text document type is UNICODE (contains 16-bit UNICODE characters).
PdfThe target document should be PDF v1.4.

PDF is generally not suited for long term preservation. The PDF format may contain resources (such as fonts) that may not exist on the viewing machine. Hence, font susbstitution may occur resulting in a document that may not look exactly like the original version.

PdfAThe target document should be PDF/A.

PDF/A is a subset of PDF obtained by leaving out PDF features not suited to long-term archiving. The resulting document is 100% self contained where all of the information necessary for displaying the document in the same manner every time is embedded in the file. Saving with PDF/A document type may result in larger output file sizes.

PdfImageOverTextThe target document should be PDF v1.4.

PDF is generally not suited for long term preservation. The PDF format may contain resources (such as fonts) that may not exist on the viewing machine. Hence font susbstitution may occur resulting in a document that may not look exactly like the original version.

The Raster image overlies on top of the resulting PDF document.

PdfAImageOverTextThe target document should be PDF/A.

PDF/A is a subset of PDF obtained by leaving out PDF features not suited to long-term archiving. The resulting document is guaranteed to look exactly like the original version when viewed on the target machine. Saving with PDF/A document type may result in larger output file sizes.

The Raster image overlies on top of the resulting PDF document.

DocMicrosoft Word 2003 document format (DOC).
RtfMicrosoft Rich Text Format (RTF).
Html HTML output. HTML 4.0 can set the exact position and size of objects. Use this output format with full formatting.
EmfWindows Enhanced Meta File (EMF).

EMF format does not support multi-page documents. Therefore, only the last page will be used in the final document.

DocxMicrosoft Word 2007 document format (DOCX).
Pdf12The target document should be PDF v1.2.

PDF is generally not suited for long term preservation. The PDF format may contain resources (such as fonts) that may not exist on the viewing machine. Hence, font susbstitution may occur resulting in a document that may not look exactly like the original version.

Pdf12ImageOverTextThe target document should be PDF v1.2.

PDF is generally not suited for long term preservation. The PDF format may contain resources (such as fonts) that may not exist on the viewing machine. Hence font susbstitution may occur resulting in a document that may not look exactly like the original version.

The Raster image overlies on top of the resulting PDF document.

Pdf13The target document should be PDF v1.3.

PDF is generally not suited for long term preservation. The PDF format may contain resources (such as fonts) that may not exist on the viewing machine. Hence, font susbstitution may occur resulting in a document that may not look exactly like the original version.

Pdf13ImageOverTextThe target document should be PDF v1.3.

PDF is generally not suited for long term preservation. The PDF format may contain resources (such as fonts) that may not exist on the viewing machine. Hence font susbstitution may occur resulting in a document that may not look exactly like the original version.

The Raster image overlies on top of the resulting PDF document.

Pdf15The target document should be PDF v1.5.

PDF is generally not suited for long term preservation. The PDF format may contain resources (such as fonts) that may not exist on the viewing machine. Hence, font susbstitution may occur resulting in a document that may not look exactly like the original version.

Pdf15ImageOverTextThe target document should be PDF v1.5.

PDF is generally not suited for long term preservation. The PDF format may contain resources (such as fonts) that may not exist on the viewing machine. Hence font susbstitution may occur resulting in a document that may not look exactly like the original version.

The Raster image overlies on top of the resulting PDF document.

XpsMicrosoft XML Paper Specification (XPS).

Example

For an example, refer to DocumentConvertOptions.

Remarks

The Leadtools.Services.Forms.ServiceContracts.IOcrService.Recognize method allows you to save the recognized pages data to a final document format.

Some of the document formats require a special key to unlock. When using such formats you have to first unlock the specified support through the configuration files shipped with our services.

The following table lists the document formats and corresponding support types which must be unlocked in order to be used:
Document FormatSupport Type
Pdf, PdfImageOverText, Pdf12, Pdf12ImageOverText, Pdf13, Pdf13ImageOverText, Pdf15, Pdf15ImageOverText, Xps You need to set the value for OcrPlusPdfOutputKey found in Leadtools.Services.Forms.ServiceImplementations.dll.config file when using the OcrEngineType.Plus engine and OcrProfessionalPdfOutputKey when using the OcrEngineType.Professional engine
PdfA You need to set the value for OcrPlusPdfLeadOutputKey found in Leadtools.Services.Forms.ServiceImplementations.dll.config file when using the OcrEngineType.Plus engine and OcrProfessionalPdfLeadOutputKey when using the OcrEngineType.Professional engine

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Services.Forms.DataContracts.OcrDocumentFormatType

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Applications developed with LEADTOOLS WCF components require runtime licenses. Server licensing is required for applications on a server. For more information, refer to: Imaging Pro/Document/Medical Features