Function readPdfPages

  • Read a PDF and convert it into lines of text.

    If a URL is used to fetch the PDF data a standard XMLHttpRequest(XHR) is used, which means it must follow the same origin rules that any XHR does e.g. No cross domain requests without CORS.

    Parameters

    Returns Promise<PdfPage[]>