Format

Format enum

Module: models

Format to save recognition result as document.

Enum Values

NameValueDescription
DOCX1 Saves the result as an Office Open XML Word processing ML Document (macro-free).
EPUB7 Saves the document as an EPUB file.
HTML6 Saves the document as an HTML file.
JSON5 Saves the result as an plain text written in JavaScript object notation.
PDF2 Saves the result as a PDF (Adobe Portable Document) Document.
PDF_NO_IMG9 Saves the document as a Searchable PDF (Adobe Portable Document) Document without image.
RTF8 Saves the document as an rtf file.
TEXT0 Saves the result in the plain text format.
XLSX3 Saves the result as an Excel ( 2007 and later) workbook Document.
XML4 Saves the result as an XML Document.

Format.DOCX

Type: int

Value: 1 Saves the result as an Office Open XML Word processing ML Document (macro-free).

Format.EPUB

Type: int

Value: 7 Saves the document as an EPUB file.

Format.HTML

Type: int

Value: 6 Saves the document as an HTML file.

Format.JSON

Type: int

Value: 5 Saves the result as an plain text written in JavaScript object notation.

Format.PDF

Type: int

Value: 2 Saves the result as a PDF (Adobe Portable Document) Document.

Format.PDF_NO_IMG

Type: int

Value: 9 Saves the document as a Searchable PDF (Adobe Portable Document) Document without image.

Format.RTF

Type: int

Value: 8 Saves the document as an rtf file.

Format.TEXT

Type: int

Value: 0 Saves the result in the plain text format.

Format.XLSX

Type: int

Value: 3 Saves the result as an Excel ( 2007 and later) workbook Document.

Format.XML

Type: int

Value: 4 Saves the result as an XML Document.