getWordCharBox
Get the bounding box of a character in a word.
getWordCharBox([in] LONG wordHandle, [in] int charIdx, [out] double *xMin, [out] double *yMin,
[out] double *xMax, [out] double *yMax)
This function returns the bounding box of
the
charIdx
th character in a word (whose
handle was obtained with getWord
).
The xMin
, yMin
, xMax
,
and yMax
coordinates are in a coordinate space that
places (0,0) at the top-left corner of the page and has 72 units per
inch (same coordinate system as used by extractTextFromRect
).
This function works on Unicode characters (used internally in
XpdfText). The getWordLength
function returns the number of
Unicode characters.
This function is identical to getWordCharBox2
except that it
returns points in a top-down coordinate space.
VB:
For i = 0 To pdf.getWordLength(word) - 1
pdf.getWordCharBox(word, i, xMin, yMin, xMax, yMax)
...
Next i
getWordCharBox2
buildWordList
getNumWords
getWord
getWordText
getWordLength
getWordFontName
getWordColor
getWordBox
getWordBox2
getWordCharBox2
getWordSpaceAfter
getWordFontSize
getWordFontIsFixedWidth
getWordFontIsSerif
getWordFontIsSymbolic
getWordFontIsItalic
getWordFontIsBold
getWordRotation
getWordCharPos
getWordCharLen