You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > OCR Extension (Tesseract) > OCRTesseractGetCharSpaces Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.OCRTesseractGetCharSpaces Method

This function returns the number of spaces detected before a character recognized during the last OCR process done by the OCRTesseractDoOCR() function.

C#
public int OCRTesseractGetCharSpaces(
    int CharNo
);
Visual Basic
Public Function OCRTesseractGetCharSpaces(
    ByVal CharNo As Integer
) As Integer
Parameters
Parameters 
Description 
CharNo 
The character index between 1 and the number of recognized characters returned by the OCRTesseractGetCharCount() function.  
Returns

The number of spaces detected before the character.

This function must be used only after the OCRTesseractDoOCR() function. 

This function requires the optional GdPicture Tesseract Plugin. This Plugin must be unlocked with the SetLicenseNumberOCRTesseract() function.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.