Indicates the font attributes for recognized characters.
[FlagsAttribute()]
[SerializableAttribute()]
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 = {
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
Value | Member | Description |
---|---|---|
0x00000000 | Regular | Normal text |
0x00000001 | Bold | Bold text |
0x00000002 | Italic | Italic text |
0x00000004 | Underline | Underlined text |
0x00000008 | SansSerif | SansSerif text |
0x00000010 | Serif | Serif text |
0x00000020 | Proportional | Proportional text. If this flag is not set, the text is mono-spaced. |
0x00000040 | Superscript | Super script text |
0x00000080 | Subscript | Subscript text |
0x00000100 | Strikeout | Strikeout text |
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.
For an example, refer to IOcrPage.GetRecognizedCharacters.
Products |
Support |
Feedback: OcrCharacterFontStyle Enumeration - Leadtools.Forms.Ocr |
Introduction |
Help Version 19.0.2017.6.6
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.