The namespace containing constants for search related APIs.
Members
-
<static> Mode
-
Search modes that control how searching is conducted.
Properties:
Name Type Description CASE_SENSITIVEnumber If set, the found text must match the case of the search term. WHOLE_WORDnumber If set, the found text must be a whole word (preceeded and followed by a non-alphabetical character, or in the case of a number, a non-numerical character. REGEXnumber If set, the search term will be treated as a regular expression and the results will be text in the document matching that regular expression. SEARCH_UPnumber If set, the document pages will be searched in descending order, from bottom to top. PAGE_STOPnumber If set, the search will return with a result code of Page at the end of every page. Useful for updating the UI. HIGHLIGHTnumber If set, the bounding box the found term will be included. Useful for highlighting text and positioning the page. AMBIENT_STRINGnumber If set, the characters surrounding the found term will be included. This gives context to the search result may be useful when providing a list of search results. WILD_CARDnumber If set, you can use the wildcard character (*) as part of the pattern. -
<static> ResultCode
-
Search result code that indicates the search status.
Properties:
Name Type Description DONEnumber Search has been completed PAGEnumber Search on a page has been completed FOUNDnumber A search result has been found