Find(PdfRectangle, HitTestKinds) Method

Definition

Assembly Broadside.dll

Finds the items of the given kinds that share a point with a rectangle.

public HitTestMatches Find(PdfRectangle area, HitTestKinds kinds)

Parameters

area
PdfRectangle

The rectangle, in page space (default user space).

kinds
HitTestKinds

The kinds to look at.

Returns

HitTestMatches
The matches, by kind and then in content order; enumerating them allocates nothing.

Remarks

Viewer capability 4. Rotated glyph boxes, image and path areas and link quadrilaterals are tested exactly against the rectangle (by separating axes), not by their upright bounds; touching edges count as shared.