The Format Property is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
Gets or sets the output document format.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.For an example, refer to IOcrAutoRecognizeManager.RunJob and IOcrAutoRecognizeManager.RunJobAsync.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7