react-pdf-highlighter-plus
PdfSearchOptions: {
    caseSensitive?: boolean;
    entireWord?: boolean;
    highlightAll?: boolean;
    matchDiacritics?: boolean;
}

Options for searching text in the PDF document.

Type declaration

  • Optional caseSensitive?: boolean

    If true, search is case-sensitive.

  • Optional entireWord?: boolean

    If true, only whole-word matches are returned.

  • Optional highlightAll?: boolean

    If true, all matches are highlighted, not just the selected match.

  • Optional matchDiacritics?: boolean

    If true, diacritics must match exactly.