THPDFPageDisplayList.QueryObjectIndexes Method

Collects the zero-based indexes of every paint object 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 given by GetObject

Return value

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

Usage notes

Related APIs