←Select platform

FontStyle Property

Summary

Gets or sets the character font attributes.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public OcrCharacterFontStyle FontStyle { get; set; } 
Public Property FontStyle As Leadtools.Forms.Ocr.OcrCharacterFontStyle 
public Leadtools.Forms.Ocr.OcrCharacterFontStyle FontStyle {get; set;} 
@property (nonatomic, assign) LTOcrCharacterFontStyle fontStyle 
public int getFontStyle() 
public void setFontStyle(int value) 
             
 <br/>get_FontStyle();<br/>set_FontStyle(value);<br/>Object.defineProperty('FontStyle');  

Property Value

One or more OcrCharacterFontStyle enumeration members containing the attributes of the character.

Remarks

To get the recognized characters of a page, call IOcrPage.GetRecognizedCharacters after IOcrPage.Recognize.

To update the recognized characters of a page, call IOcrPage.GetRecognizedCharacters before calling IOcrDocument.Save, or IOcrDocument.SaveAsync, IOcrDocument.SaveXml or or IOcrDocument.SaveXmlAsync.

Note: This property is 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