getWordFontIsItalic

Get the "italic" font flag for a word.
getWordFontIsItalic([in] LONG wordHandle, [out, retval] VARIANT_BOOL *flag)
This function returns the "italic" flag for the font used by a word (whose handle was obtained with getWord). A non-zero value indicates an italic font.

The font parameters (bold, italic, fixed width, serif, symbolic) come from the "font descriptor" object attached to the font in the PDF file. Depending on the software that generated the PDF file, these values may or may not be particularly reliable.

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.getWordBox(word, xMin, yMin, xMax, yMax) space = pdf.getWordSpaceAfter(word) rot = pdf.getWordRotation(word)
buildWordList
getNumWords
getWord
getWordText
getWordLength
getWordFontName
getWordColor
getWordBox
getWordBox2
getWordCharBox
getWordCharBox2
getWordSpaceAfter
getWordFontSize
getWordFontIsFixedWidth
getWordFontIsSerif
getWordFontIsSymbolic
getWordFontIsBold
getWordRotation
getWordCharPos
getWordCharLen