Gets the friendly name of the specified engine native format.
public string GetEngineFormatFriendlyName(
string formatName
)
Function GetEngineFormatFriendlyName( _
ByVal formatName As String _
) As String
public String getEngineFormatFriendlyName(String formatName)
String^ GetEngineFormatFriendlyName(
String^ formatName
)
formatName
The engine native format name requested.
A String containing the friendly name for the specified format.
Some of the OCR engines supported by LEADTOOLS (for example, the OcrEngineType.Professional) 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.
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.
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 on the various document formats supported by LEADTOOLS refer to DocumentFormat.
To get a list of all the engine native formats supported by this IOcrEngine, use GetSupportedEngineFormats.
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.
For an example, refer to IOcrDocumentManager.
Leadtools.Forms.DocumentWriters.DocumentFormat
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET