THPDFDisplayListObjectKind Type
Classifies the sort of content object recorded in a page display list
Declaration
THPDFDisplayListObjectKind= (dlokPath, dlokText, dlokImage,
dlokShading, dlokUnknown);
Unit
HPDFPageRenderer
Values
| Value | Purpose |
|---|---|
dlokPath | Path-painting object, recorded when path construction operators have produced a non-empty painted path |
dlokText | Text-showing object, recorded when text operations have painted visible glyphs |
dlokImage | Image XObject drawn through a Do operator |
dlokShading | Shading pattern painted across the page media box |
dlokUnknown | Fallback kind for an object falling outside the four recorded classes |
Usage notes
- Read entries with
THPDFPageDisplayList.GetObjectand filter byKindto isolate paths, text, images or shadings for hit testing dlokShadingentries carry the media box as bounds, whilst path and text bounds come from the operators that painted them- The
OperatorNamefield of the companion record gives the generating operator, such asre,TjorDo