←Select platform

Format Property

Summary

Gets or sets the output document format.

Syntax

C#
VB
Java
Objective-C
C++
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 20.0.2018.6.20
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly