ComPDFKit Web SDK
    Preparing search index...

    Variable SearchConst

    Search: { Mode: typeof SearchMode; ResultCode: { DONE: 0; FOUND: 2; PAGE: 1 } }

    Search constants: Mode (SearchMode) and ResultCode (SearchResultCode).

    Type Declaration

    • ReadonlyMode: typeof SearchMode

      Search options.

    • ReadonlyResultCode: { DONE: 0; FOUND: 2; PAGE: 1 }

      Result codes.

      • ReadonlyDONE: 0

        The search finished.

      • ReadonlyFOUND: 2

        A match was found.

      • ReadonlyPAGE: 1

        A page has been searched (PAGE_STOP mode).