count Text Rect
Count number of rectangular areas occupied by a segment of texts.
This function, along with FPDFText_GetRect can be used by applications to detect the position on the page for a text segment, so proper areas can be highlighted or something. FPDFTEXT will automatically merge small character boxes into bigger one if those characters are on the same line and use same font settings.
Return
texts areas count.
Parameters
page Index
index of page.
char Index
Index for the start characters.
count
Number of characters.