Visual Basic (Declaration) | |
---|---|
<SerializableAttribute()> Public Enum OcrDocumentFormat Inherits Enum |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[SerializableAttribute()] public enum OcrDocumentFormat : Enum |
C++/CLI | |
---|---|
[SerializableAttribute()] public enum class OcrDocumentFormat : public Enum |
Member | Description |
---|---|
TextAnsi | The output text document type is ANSI (contains 8-bit ANSI characters only). |
TextUnicode | The output text document type is UNICODE (contains 16-bit UNICODE characters). |
The 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. | |
PdfA | The 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. |
PdfImageOverText | The 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. |
PdfAImageOverText | The 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. |
Doc | Microsoft Word 2003 document format (DOC). |
Rtf | Microsoft 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. |
Emf | Windows Enhanced Meta File (EMF). EMF format does not support multi-page documents. Therefore, only the last page will be used in the final document. |
Xps | Microsoft XML Paper Specification (XPS). |
Docx | Microsoft Word 2007 document format (DOCX). |
Pdf12 | The 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. |
Pdf12ImageOverText | The 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. |
Pdf13 | The 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. |
Pdf13ImageOverText | The 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. |
Pdf15 | The 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. |
Pdf15ImageOverText | The 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. |
Some document formats require a special key to unlock. When using these formats you have to first unlock the specified support using the UnlockSupportActivity activity.
The following table lists the document formats and the support type required to be unlocked before using them:
Document Format | Support Type |
---|---|
Pdf, PdfImageOverText, Pdf12, Pdf12ImageOverText, Pdf13, Pdf13ImageOverText, Pdf15, Pdf15ImageOverText, Xps | RasterSupportType.OcrPlusPdfOutput when using the OcrEngineType.Plus engine and RasterSupportType.OcrProfessionalPdfOutput when using the OcrEngineType.Professional engine |
PdfA | RasterSupportType.OcrPlusPdfLeadOutput when using the OcrEngineType.Plus engine and RasterSupportType.OcrProfessionalPdfLeadOutput when using the OcrEngineType.Professional engine |
System.Object
System.ValueType
System.Enum
Leadtools.Workflow.Ocr.OcrDocumentFormat
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family