Retrieves the text font size for the specified word or line, or for the entire block after performing OCR with the
Img_OCR function.
Use the
Blk_GetLineCnt function to get the total number of text lines in the block.
Use the
Blk_GetWordCnt function to get the total number of words in the specified line.
If success, the text size in pixels multiplied by 1000; if the size cannot be calculated, zero; otherwise, an
error code. For example, if the detected text size is 24.5 pixels, the function will return 24500.
The size is calculated for the final image. Use the
Img_GetScaleFactor function to calculate the size for the input image.
If the word contains only special characters like "," or ".", the function may return 0, because the text size cannot be calculated properly.