←Select platform

Format Property

Summary
Gets or sets the output document format.
Syntax
C#
VB
Objective-C
C++
Java
public DocumentFormat Format { get; set; } 
Public Property Format As DocumentFormat 
@property (nonatomic, assign) LTDocumentFormat format 
public DocumentFormat getFormat() 
public void setFormat(DocumentFormat value) 
public: 
property DocumentFormat Format { 
   DocumentFormat get(); 
   void set (    DocumentFormat ); 
} 

Property Value

The output document format. This can be any of the supported DocumentFormat such as PDF, DOC and TEXT.

If this is DocumentFormat.User, then the document is saved using the native engine format set in IOcrDocumentManager.EngineFormat when the engine used supports native formats, otherwise an exception will be thrown.

Example

For an example, refer to RunJob and RunJobAsync.

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.