getWordLength
Get the Unicode length of a word.
getWordLength([in] LONG wordHandle, [out, retval] int *length)
This function returns the length of a word (whose handle was obtained
with
getWord
), i.e., the number of Unicode characters in the word.
The Unicode length is useful when calling getWordCharBox
.
(The length returned by getWordLength
will generally be
different from the length of the string returned by getWordText
,
which converts the word to the requested output encoding.)
VB:
For i = 0 To pdf.getWordLength(word) - 1
pdf.getWordCharBox(word, i, xMin, yMin, xMax, yMax)
...
Next i
buildWordList
getNumWords
getWord
getWordText
getWordFontName
getWordColor
getWordBox
getWordBox2
getWordCharBox
getWordCharBox2
getWordSpaceAfter
getWordFontSize
getWordFontIsFixedWidth
getWordFontIsSerif
getWordFontIsSymbolic
getWordFontIsItalic
getWordFontIsBold
getWordRotation
getWordCharPos
getWordCharLen