←Select platform

GetSupportedEngineFormats Method

Summary
Gets a list of the engine native formats supported by this IOcrEngine.
Syntax
C#
VB
C++
Java
public string[] GetSupportedEngineFormats() 
Function GetSupportedEngineFormats() As String() 
public String[] getSupportedEngineFormats() 
array<String^>^ GetSupportedEngineFormats();  
Remarks

Some of the OCR engines supported by LEADTOOLS (for example, OcrEngineType.OmniPage) support saving the recognition results using the engine native save mechanism instead of the LEADTOOLS Document Writers. Use the GetSupportedEngineFormats method to get a list of the names of the native formats and the EngineFormat property to set the format to use when saving the results.

It is recommended that you use the LEADTOOLS Document Writers supported formats always when saving OCR recognition data. For more information refer to DocumentFormat. Support for native engine formats may be deprecated in later versions of LEADTOOLS.

To save the recognition results using the engine native format:

Note that the LEADTOOLS default installation does not ship with native engine format support. You must download and install the "OCR Additional Features" setup available at https://www.leadtools.com to add this feature. To get a list of the engine native formats available but not installed for the current OCR engine, use GetAdditionalEngineFormats.

For more information about the various document formats supported by LEADTOOLS refer to DocumentFormat.

To determine whether a specific engine native format is supported by this IOcrEngine, use IsEngineFormatSupported.

To get the file extension for a specific engine native format, use GetEngineFormatFileExtension.

To get the friendly name for a specific engine native format, use GetEngineFormatFriendlyName.

Example

For an example, refer to IOcrDocumentManager.

Requirements

Target Platforms

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

Leadtools.Ocr Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.