Gets the default file extension for the specified engine native format.
string GetEngineFormatFileExtension(
string formatName
)
Function GetEngineFormatFileExtension( _
ByVal formatName As String _
) As String
public String getEngineFormatFileExtension(String formatName)
String^ GetEngineFormatFileExtension(
String^ formatName
)
formatName
The name of the engine native format requested.
A String containing the file extension for the specified format (without the ".").
Some of the OCR engines supported by LEADTOOLS (for example, the OcrEngineType.Professional) support saving 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 returns the default file extension commonly used with file of types formatName. For example, Adobe PDF files commonly have "pdf" extensions, Microsoft Word documents commonly have "doc" extensions and so forth.
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 a friendly name for a specific engine native format, use GetEngineFormatFriendlyName.
For an example, refer to IOcrDocumentManager.
Leadtools.Forms.DocumentWriters.DocumentFormat
Products |
Support |
Feedback: GetEngineFormatFileExtension Method - Leadtools.Forms.Ocr |
Introduction |
Help Version 19.0.2017.6.6
|
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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.