Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS OCR C DLL Help

FORMATLEVEL

Show in webframe

typedef enum
{
   FORMAT_LEVEL_FULL = 0,
   FORMAT_LEVEL_PART,
   FORMAT_LEVEL_DROP,
 FORMAT_LEVEL_CUSTOM = 0xFFF,
} FORMATLEVEL;

The FORMATLEVEL enumerated type represents how much formatting is exported.

Value

Meaning

FORMAT_LEVEL_FULL

All formatting is retained, including text zoning (Default).

 

It keeps the original layout of the pages, including columns. This is done with text, graphical and table zones and frames. This is offered only for target applications capable of handling these. FORMAT_LEVEL_FULL formatting is the only choice for all PDF export, except for the file type "Adobe PDF edited".

FORMAT_LEVEL_PART

A partial set of output formatting elements is retained.

 

All recognized paragraph and character formatting features along with graphics and tables are exported.

FORMAT_LEVEL_DROP

Only some character formatting properties (font size and name) is exported, if applicable. When exporting to text file types, graphics and tables are not supported.

FORMAT_LEVEL_CUSTOM

Custom format level. Fill the DOCUMENTOPTIONS, PARAGRAPHOPTIONS, CHARACTEROPTIONS and MARKOPTIONS structures before calling the L_DocSetRecognitionResultOptions function.

Comments

When using FORMAT_LEVEL_CUSTOM values, options passed to the DOCUMENTOPTIONS, PARAGRAPHOPTIONS, CHARACTEROPTIONS and MARKOPTIONS structures are used when L_DocSetRecognitionResultOptions is called.

When using FORMAT_LEVEL_FULL, FORMAT_LEVEL_PART and FORMAT_LEVEL_DROP values, options passed to the DOCUMENTOPTIONS, PARAGRAPHOPTIONS, CHARACTEROPTIONS and MARKOPTIONS structures are ignored when L_DocSetRecognitionResultOptions is called.

This enumerated type is used by the following structure:

RESULTOPTIONS

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.