 | OcrApiGetWordStrBoxText Method |
The recognized text is returned as a char* which is coded in the same format as a WordStr box file used in training.
Namespace: Patagames.OcrAssembly: Patagames.Ocr (in Patagames.Ocr.dll) Version: 4.6.411
Syntaxpublic string GetWordStrBoxText(
int pageNumber
)
Public Function GetWordStrBoxText (
pageNumber As Integer
) As String
public:
String^ GetWordStrBoxText(
int pageNumber
)
member GetWordStrBoxText :
pageNumber : int -> string public String GetWordStrBoxText(
int pageNumber
)
function GetWordStrBoxText(pageNumber);
Parameters
- pageNumber Int32
- page_number is a 0-based page index that will appear in the box file.
Return Value
StringThe recognized text
Remarks
Image name/input file can be set by
InputName before calling GetWordStrBoxText
Constructs coordinates in the original image - not just the rectangle.
See Also