LEADTOOLS OCR (Leadtools.Forms.Ocr assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Format Property
See Also 
Leadtools.Forms.Ocr Namespace > OcrAutoRecognizeJobData Structure : Format Property



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

Gets or sets the output document format.

Syntax

Visual Basic (Declaration) 
Public Property Format As DocumentFormat
Visual Basic (Usage)Copy Code
Dim instance As OcrAutoRecognizeJobData
Dim value As DocumentFormat
 
instance.Format = value
 
value = instance.Format
C# 
public DocumentFormat Format {get; set;}
C++/CLI 
public:
property DocumentFormat Format {
   DocumentFormat get();
   void set (    DocumentFormat value);
}

Property Value

An Leadtools.Forms.DocumentWriters.DocumentFormat enumeration member that specifies the output document format. This can be any of the supported Leadtools.Forms.DocumentWriters.DocumentFormat such as PDF, DOC and TEXT. If this member is DocumentFormat.User, then the document saved using the native engine format set in IOcrDocumentManager.EngineFormat if the engine used supports native formats, otherwise an exception will be thrown.

Example

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

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