TPDFlibViewerSearchState

Data types, viewer interaction

Description

Reports the state of the incremental text search of TPDFlibViewer. ContinueIncrementalSearch returns the state after each step and the IncrementalSearchState property reports it at any time

Values

TPDFlibViewerSearchState = (vssIdle, vssRunning, vssCompleted, vssCancelled,
  vssLimitReached, vssFailed);
vssIdleNo incremental search is in progress. HighlightSearchHits and ClearSearchHighlights return to this state, as does closing the document
vssRunningBeginIncrementalSearch accepted the query and pages are still being searched
vssCompletedThe last page was searched
vssCancelledCancelIncrementalSearch was called, the displayed document or its page count changed during the search, or the attached library was aborted
vssLimitReachedThe number of collected hits reached the MaxHits limit of the search
vssFailedA search step raised an exception; IncrementalSearchError holds the message

See also

TPDFlibViewer, TPDFlibViewerZoomMode, TPDFlibSearchPanel