Table of Contents

Class ReportSearchHit

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

One occurrence of a search term, and where on the pages it is drawn.

public sealed class ReportSearchHit
Inheritance
ReportSearchHit
Inherited Members

Properties

ItemId

Gets the Id of the textbox the match is in.

Length

Gets the length of the match, in UTF-16 units.

Offset

Gets where the match starts in Text, in UTF-16 units.

PageNumber

Gets the first page the match is drawn on, from 1, or 0 when no run draws it.

Regions

Gets where the match is drawn: one region per run that draws part of it, in page order and then in reading order.

Text

Gets the textbox's whole formatted text, which the offset is into.