- format
- The document format requested.
Visual Basic (Declaration) | |
---|---|
Overridable Function GetFormatFileExtension( _ ByVal format As OcrDocumentFormat _ ) As String |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
virtual string GetFormatFileExtension( OcrDocumentFormat format ) |
C++/CLI | |
---|---|
virtual String^ GetFormatFileExtension( OcrDocumentFormat format ) |
Parameters
- format
- The document format requested.
Return Value
A String containing the file extension for the specified format (without the ".").(Deprecated) Use DocumentWriter.GetFormatFileExtension instead.
This method will return the default file extension commonly used with file of types format. For example, Adobe PDF files commonly have "pdf" extensions, Microsoft Word documents commonly have "doc" extensions and so forth.
For more information on the various document formats supported by LEADTOOLS refer to DocumentFormat.
To get a list of all the document formats supported by this IOcrEngine, use GetSupportedFormats.
To check if a particular document format is supported by this IOcrEngine, use IsFormatSupported.
To get a friendly name for a particular document format, use GetFormatFriendlyName.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
Reference
IOcrDocumentManager InterfaceIOcrDocumentManager Members
DocumentFormat
IOcrDocument Interface
IOcrDocument.Save
IOcrDocument.SaveXml
IOcrPage.Recognize
IOcrEngine Interface
OcrEngineManager Class
OcrEngineType Enumeration
Programming with Leadtools .NET OCR
Files to be Included with Your Application