---
layout: default-layout
needAutoGenerateSidebar: true
needGenerateH3Content: true
noTitleIndex: true
title: Dynamsoft Document Viewer API Reference - Interface TextSearchResult
keywords: Documentation, Dynamsoft Document Viewer, API Reference, Interface TextSearchResult
breadcrumbText: Interface TextSearchResult
description: Dynamsoft Document Viewer Documentation API Reference Interface TextSearchResult Page
---

# TextSearchResult

## Syntax

```typescript
interface TextSearchResult {
   pageUid: string;
   text: string;
   rects: RectXY[];
   context: string;
}
```

See also [`RectXY`](https://www.dynamsoft.com/document-viewer/docs/api/interface/rectxy.md).
