←Select platform

OcrTextStyle Enumeration

Summary
The style of a text zone.
Syntax
C#
Objective-C
C++/CLI
Java
Python
[SerializableAttribute()] 
public enum OcrTextStyle   
typedef NS_ENUM(NSInteger, LTOcrTextStyle) { 
 LTOcrTextStyleNormal, // Normal (flow text) 
 LTOcrTextStyleHeader, // In header section of the the page. Usually smaller font 
 LTOcrTextStyleFooter, // In footer section of the the page. Usually smaller font 
 LTOcrTextStyleHeading, // Heading is a text by itself. You can use FontRatio to calculate the type of the heading (h1, h2, h3, etc) 
}; 
public enum OcrTextStyle 
[SerializableAttribute()] 
public enum class OcrTextStyle   
class OcrTextStyle(Enum): 
   Normal = 0 
   Header = 1 
   Footer = 2 
   Heading = 3 
Members
ValueMemberDescription
0Normal Normal (flow text).
1Header In header section of the page. Usually smaller font.
2Footer In footer section of the page. Usually smaller font.
3Heading Heading is a text by itself. You can use FontRatio to calculate the type of the heading (h1, h2, h3, etc).
Remarks

Used as value for OcrZone.TextStyle to determine the style of the text.

Requirements

Target Platforms

See Also

Reference

Leadtools.Ocr Namespace

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

Leadtools.Ocr Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.