←Select platform

FontStyle Property

Summary

Gets or sets the character font attributes.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public Leadtools.Forms.Ocr.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) 
             
  
get_FontStyle(); 
set_FontStyle(value); 
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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Forms.Ocr Assembly
Click or drag to resize