getWordBox2
Get the bounding box of a word.
getWordBox2([in] LONG wordHandle, [out] double *xMin, [out] double *yMin,
[out] double *xMax, [out] double *yMax)
This function returns the bounding box of a word (whose handle was obtained
with
getWord
).
The xMin
, yMin
, xMax
,
and yMax
coordinates are in PDF coordinate space.
This function is identical to getWordBox
except that it returns
points in PDF coordinate space.
VB:
Dim fSize As Double
Dim xMin As Double, yMin As Double, xMax As Double, yMax As Double
fName = pdf.getWordFontName(word)
fSize = pdf.getWordFontSize(word)
bold = pdf.getWordFontIsBold(word)
italic = pdf.getWordFontIsItalic(word)
fixedWidth = pdf.getWordFontIsFixedWidth(word)
serif = pdf.getWordFontIsSerif(word)
symbolic = pdf.getWordFontIsSymbolic(word)
color = pdf.getWordColor(word)
pdf.getWordBox2(word, xMin, yMin, xMax, yMax)
space = pdf.getWordSpaceAfter(word)
rot = pdf.getWordRotation(word)
getWordBox
buildWordList
getNumWords
getWord
getWordText
getWordLength
getWordFontName
getWordColor
getWordBox
getWordCharBox
getWordCharBox2
getWordSpaceAfter
getWordFontSize
getWordFontIsFixedWidth
getWordFontIsSerif
getWordFontIsSymbolic
getWordFontIsItalic
getWordFontIsBold
getWordRotation
getWordCharPos
getWordCharLen