Download PDF By Page Number
Thank you for the awesome library, I believe my request will be a new feature.
Use Case: Generated PDF document have multiple pages, therefore the end-user would like to download specific PDF pages or pages.
Idea:
<PDFDownloadLink downloadPages={[1,2,5]} document={<MyDoc />} fileName="somename.pdf"> {({ blob, url, loading, error }) => loading ? 'Loading document...' : 'Download now!' } </PDFDownloadLink>
Result:
PDF should have 3 pages, which include 1,2,5 page from the original document.
hi @diegomura , sorry to tag you here, Do you have any suggestion or idea how to achieve this ?
This falls outside this lib scope. This lib is for creating pdf documents, if you want to split them by page you will need another tool