←Select platform

OcrCharacterFontStyle Enumeration

Summary

Indicates the font attributes for recognized characters.

Syntax

C#
VB
Java
Objective-C
C++
[SerializableAttribute()] 
[FlagsAttribute()] 
public enum OcrCharacterFontStyle 

<FlagsAttribute()> 
<SerializableAttribute()> 
Public Enum OcrCharacterFontStyle  

typedef NS_OPTIONS(NSUInteger, LTOcrCharacterFontStyle) 

public enum OcrCharacterFontStyle 

[FlagsAttribute()] 
[SerializableAttribute()] 
public enum class OcrCharacterFontStyle   

Members

ValueMemberDescription
0x00000000Regular Normal text
0x00000001Bold Bold text
0x00000002Italic Italic text
0x00000004Underline Underlined text
0x00000008SansSerif SansSerif text
0x00000010Serif Serif text
0x00000020Proportional Proportional text. If this flag is not set, the text is mono-spaced.
0x00000040Superscript Super script text
0x00000080Subscript Subscript text
0x00000100Strikeout Strikeout text
Remarks

The OcrCharacter.FontStyle property contains the font attributes of the recognized character.

The values of OcrCharacterFontStyle can be combined together (OR-ed).

Note: SansSerif, Serif, Superscript, and Subscript attributes are not supported in the LEADTOOLS OCR Module - LEAD Engine.

Example

For an example, refer to IOcrPage.GetRecognizedCharacters.

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