←Select platform

LeadingSpaces Property

Summary

Gets or sets the estimated number of leading spaces in front of the character.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public int LeadingSpaces {get; set;} 
Public Property LeadingSpaces As Integer 
public int LeadingSpaces {get; set;} 
@property (nonatomic, assign) NSUInteger leadingSpaces 
public int getLeadingSpaces() 
public void setLeadingSpaces(int value) 
             
  
get_LeadingSpaces(); 
set_LeadingSpaces(value); 
Object.defineProperty('LeadingSpaces');  
public: 
property int LeadingSpaces { 
   int get(); 
   void set (    int ); 
} 

Property Value

The estimated number of leading spaces in front of the character.

Remarks

The confidence of the number of leading spaces in front of the character is expressed in a value of 0 (worst) to 100 (best) in the LeadingSpacesConfidence property.

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: The following properties are not supported in the LEADTOOLS OCR Professional and Advantage Engines

Changing the values of these properties in the LEADTOOLS OCR Professional and Advantage Engines will have no effect on the final document.

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