# ReportViewer.SearchResult

## Content

# Class: SearchResult

[ReportViewer](../modules/ReportViewer).SearchResult

Defines a search result.

## Table of contents

### Properties

- [DisplayText](ReportViewer.SearchResult#displaytext)
- [ItemArea](ReportViewer.SearchResult#itemarea)
- [ItemIndex](ReportViewer.SearchResult#itemindex)
- [PageIndex](ReportViewer.SearchResult#pageindex)
- [Range](ReportViewer.SearchResult#range)
- [UserData](ReportViewer.SearchResult#userdata)
- [BeforeBegin](ReportViewer.SearchResult#beforebegin)
- [PastEnd](ReportViewer.SearchResult#pastend)

## Properties

### DisplayText

• `Readonly` **DisplayText**: `string`

Text to display.

#### Defined in

node_modules/@grapecity/ar-js-viewer/dist/ar-js-viewer.d.ts:148

___

### ItemArea

• `Readonly` **ItemArea**: [`Rect`](ReportViewer.Rect)

The whole text item area coordinates.

#### Defined in

node_modules/@grapecity/ar-js-viewer/dist/ar-js-viewer.d.ts:150

___

### ItemIndex

• `Readonly` **ItemIndex**: `number`

The logical page item number (for subsequent searches, ordered).

#### Defined in

node_modules/@grapecity/ar-js-viewer/dist/ar-js-viewer.d.ts:152

___

### PageIndex

• `Readonly` **PageIndex**: `number`

The index of the page where the occurence is found.

#### Defined in

node_modules/@grapecity/ar-js-viewer/dist/ar-js-viewer.d.ts:146

___

### Range

• `Readonly` **Range**: [`Range`](ReportViewer.Range)

The selection text range.

#### Defined in

node_modules/@grapecity/ar-js-viewer/dist/ar-js-viewer.d.ts:154

___

### UserData

• `Optional` `Readonly` **UserData**: `any`

Plugin-specific data.

#### Defined in

node_modules/@grapecity/ar-js-viewer/dist/ar-js-viewer.d.ts:156

___

### BeforeBegin

▪ `Static` `Readonly` **BeforeBegin**: [`SearchResult`](ReportViewer.SearchResult)

Special result value for Find method to begin searching from the beginning of the document/page

#### Defined in

node_modules/@grapecity/ar-js-viewer/dist/ar-js-viewer.d.ts:176

___

### PastEnd

▪ `Static` `Readonly` **PastEnd**: [`SearchResult`](ReportViewer.SearchResult)

Result indicating search is finished. Also indicates position past the end of document.

#### Defined in

node_modules/@grapecity/ar-js-viewer/dist/ar-js-viewer.d.ts:174
