Table of Contents

Class ReportHitTest

Namespace
DocWright.Reporting.Viewer
Assembly
DocWright.Reporting.Viewer.dll

Finds what is at a point on a page of a paginated report.

public static class ReportHitTest
Inheritance
ReportHitTest
Inherited Members

Remarks

The page model is immutable, so this is a pure function of it and safe to call from several threads. There is no index to build: a page holds tens to a few thousand items and a linear walk in painting order is both the simplest answer and the one that cannot disagree with the projection about which item is on top.

Methods

At(ReportPage, Twips, Twips)

Returns what is at a point, or null when the point is on no item.