ComPDFKit Web SDK
    Preparing search index...

    Function extractPagesWithAnnotations

    • Extracts pages (with their annotations) as a PDF File. Rejects when a page number is out of range or there is no document.

      Parameters

      • pageNumbersToExtract: number[]

        The 1-based page numbers.

      Returns Promise<File>

      A Promise that resolves with the PDF File.