L_OcrTextStyle - OCR Module - LEAD Engine C++ API Help

L_OcrTextStyle

enum L_OcrTextStyle 
{ 
   L_OcrTextStyle_Normal, 
   L_OcrTextStyle_Header, 
   L_OcrTextStyle_Footer, 
   L_OcrTextStyle_Heading, 
}; 

The style of a text zone.

Value Meaning
L_OcrTextStyle_Normal Normal (flow text).
L_OcrTextStyle_Header In header section of the page. Usually smaller font.
L_OcrTextStyle_Footer In footer section of the page. Usually smaller font.
L_OcrTextStyle_Heading Heading is a text by itself. You can use OcrZone.FontRatio to calculate the type of the heading (h1, h2, h3, etc).

Comments

This enumerated type is used by the following structure:

L_OcrZone

Help Version 20.0.2018.6.21
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - LEAD Engine C API Help