THPDFDisplayListObjectKind Type
Classifies the kind 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 produced a non-empty painted path |
dlokText | Text-showing object, recorded when text operations painted visible glyphs |
dlokImage | Image XObject drawn through a Do operator |
dlokShading | Shading pattern painted over the page media box |
dlokUnknown | Fallback kind for an object 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, while path and text bounds come from the operators that painted them- The
OperatorNamefield of the companion record gives the generating operator, such asre,Tj, orDo