Leadtools.Forms.Ocr Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
GetEngineSupportedFormats Method
See Also 
Leadtools.Forms.Ocr Namespace > IOcrDocumentManager Interface : GetEngineSupportedFormats Method



Gets a list of the engine native formats supported by this IOcrEngine.

Syntax

Visual Basic (Declaration) 
Overridable Function GetEngineSupportedFormats() As String()
Visual Basic (Usage)Copy Code
Dim instance As IOcrDocumentManager
Dim value() As String
 
value = instance.GetEngineSupportedFormats()
C# 
virtual string[] GetEngineSupportedFormats()
C++/CLI 
virtual array<String^>^ GetEngineSupportedFormats(); 

Example

For an example, refer to IOcrDocumentManager.

Remarks

Some of the OCR engines supported by LEADTOOLS (for example, the OcrEngineType.Plus and OcrEngineType.Professional supports saving the recognition result using the engine native save mechanism instead of the LEADTOOLS Document Writers. Use the GetEngineSupportedFormats 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:

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

To check if a particular engine native format is supported by this IOcrEngine, use IsEngineFormatSupported.

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

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

Requirements

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

See Also

GetEngineSupportedFormats requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features