Reference Guide
Reference Guides / JavaScript API / Actions / Document / GetSearchResultsCount
In This Topic
    GetSearchResultsCount
    In This Topic
     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.