←Select platform

OcrCharacterFontStyle Enumeration

Summary

Indicates the font attributes for recognized characters.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
[SerializableAttribute()] 
[FlagsAttribute()] 
public enum OcrCharacterFontStyle 
<FlagsAttribute()> 
<SerializableAttribute()> 
Public Enum OcrCharacterFontStyle  
    
    
[FlagsAttribute()] 
[SerializableAttribute()] 
public enum OcrCharacterFontStyle    
typedef NS_OPTIONS(NSUInteger, LTOcrCharacterFontStyle) 
public enum OcrCharacterFontStyle 
Leadtools.Forms.Ocr.OcrCharacterFontStyle = function() { }; 
Leadtools.Forms.Ocr.OcrCharacterFontStyle.prototype = {<br/> 
  Regular = 0x00000000, 
    Bold = 0x00000001, 
    Italic = 0x00000002, 
    Underline = 0x00000004, 
    SansSerif = 0x00000008, 
    Serif = 0x00000010, 
    Proportional = 0x00000020, 
    Superscript = 0x00000040, 
    Subscript = 0x00000080, 
    Strikeout = 0x00000100, 
     
 }; 
[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 Advantage Engine.

Example

For an example, refer to IOcrPage.GetRecognizedCharacters.

Requirements

Target Platforms

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

Leadtools.Forms.Ocr Assembly