Class: DocumentTextSearchStrategy
Represents a search strategy specifically designed for searching text within a
document. Inherits functionality from the generic SearchStrategy class,
specifying DocumentTextSearchParams and returning an array of
DocumentTextSearchResult objects.
Extends
Constructors
Constructor
new DocumentTextSearchStrategy(
document):DocumentTextSearchStrategy
Constructs a new DocumentTextSearchStrategy instance.
Parameters
document
Parameter representing the PDF document to be searched.
Returns
DocumentTextSearchStrategy
Overrides
Properties
document
document:
Document
The Pdf.Document instance associated with this search strategy.
Inherited from
Methods
execute()
execute(
params):SearchExecution<DocumentTextSearchResult[]>
Executes the search strategy asynchronously.
Parameters
params
The parameters for the search operation.
Returns
SearchExecution<DocumentTextSearchResult[]>
A SearchExecution object representing the ongoing search operation.