Skip to content
Guides

Text Search & Selection

ComPDFKit for Web offers developers an API for programmatic full-text search, as well as UI for searching and highlighting relevant matches. You can use the method below to search for content in PDFs with ComPDFKit for Web.

javascript
docViewer.search(value)
NameRequiredTypeDescription
valueyesstringThe Searched Content