DocuVieware Reference Guide
GetSearchResultsCount
Reference Guides > JavaScript API > Actions > Operations > GetSearchResultsCount
 GetSearchResultsCount

This function retrieves the current search results count for the currently loaded document into the specified DocuVieware™ viewer.

GetSearchResultsCount: function (docuViewareID)

Parameters

docuViewareID
The identifier for the DocuVieware™ instance.

Return Value

0 if no document loaded, no active search or no result found, the search results count otherwise.