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

# SearchTextOptions

## Syntax

```typescript
interface SearchTextOptions {
    caseSensitive?: boolean;
    wholeWord?: boolean;
}
```

## Attributes

### caseSensitive

Whether to match case. Default value is false.

### wholeWord

Whether to match whole word. Default value is false.
