THPDFPageDisplayList.QueryObjectIndexes Method

Collects the zero-based indexes of all paint objects whose compiled bounds intersect the query rectangle

Declaration

function QueryObjectIndexes(Left, Bottom, Right,
  Top: Double): THPDFDisplayListObjectIndexes;

Parameters

Left, Bottom, Right, and Top define the query rectangle in compiled page space, matching the coordinate space of the object bounds reported by GetObject

Return value

THPDFDisplayListObjectIndexes, an array of zero-based paint-object indexes in display-list order; empty when the rectangle is empty (Right<=Left or Top<=Bottom)

Usage notes

Related APIs