LEADTOOLS OCR (Leadtools.Forms.Ocr assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
GetEngineFormatFriendlyName Method
See Also 
Leadtools.Forms.Ocr Namespace > IOcrDocumentManager Interface : GetEngineFormatFriendlyName Method



formatName
The engine native format name requested.

The GetEngineFormatFriendlyName Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

formatName
The engine native format name requested.
Gets the friendly name of the specified engine native format.

Syntax

Visual Basic (Declaration) 
Function GetEngineFormatFriendlyName( _
   ByVal formatName As String _
) As String
Visual Basic (Usage)Copy Code
Dim instance As IOcrDocumentManager
Dim formatName As String
Dim value As String
 
value = instance.GetEngineFormatFriendlyName(formatName)
C# 
string GetEngineFormatFriendlyName( 
   string formatName
)
C++/CLI 
String^ GetEngineFormatFriendlyName( 
   String^ formatName
) 

Parameters

formatName
The engine native format name requested.

Return Value

A System.String containing the friendly name for the specified format.

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.

This method will return a friendly name used for formatName. For example, Adobe PDF files will return something similar to "Adobe PDF" and Microsoft Word documents will return "Microsoft Word" and so forth. You can use this value in your application when presenting the user with a list to select a format to save the recognized OCR documents.

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

To get a list of all the engine native formats supported by this IOcrEngine, use GetEngineSupportedFormats.

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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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