LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)

LeadingSpaces Property

Show in webframe







Gets or sets the estimated number of leading spaces in front of the character.
Syntax
public int LeadingSpaces {get; set;}
'Declaration
 
Public Property LeadingSpaces As Integer
'Usage
 
Dim instance As OcrCharacter
Dim value As Integer
 
instance.LeadingSpaces = value
 
value = instance.LeadingSpaces
public int LeadingSpaces {get; set;}
@property (nonatomic, assign) int 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 value);
}

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 or IOcrPage.RecognizeText.

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

See Also

Reference

OcrCharacter Structure
OcrCharacter Members
IOcrPage.SetRecognizedCharacters
IOcrPage.GetRecognizedCharacters
IOcrPage.Recognize
IOcrPage.IsRecognized
OcrCharacter Structure
IOcrPageCharacters Interface
IOcrZoneCharacters Interface
IOcrPageCollection Interface
IOcrZoneCollection Interface
OcrZone Structure
Programming with the LEADTOOLS .NET OCR
OCR Confidence Reporting

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

LeadingSpaces requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features