Copy link to clipboard
Copied
Hi
Please, can anyone tell me if it is possible to create a function to extract pages containing a certain field from a pdf file?
Copy link to clipboard
Copied
Yes, it's possible, but the extractPages command can only extract a range of pages, so if the pages you want to extract are not sequential you'll need to run it multiple times, once for each page (or range of consecutive pages).
Copy link to clipboard
Copied
The page property of a field object gives you a page number or an array of page numbers (when there are multiple instances of the field).
Copy link to clipboard
Copied
Yes, it's possible, but the extractPages command can only extract a range of pages, so if the pages you want to extract are not sequential you'll need to run it multiple times, once for each page (or range of consecutive pages).
Copy link to clipboard
Copied
Thanks for the information.
I would like to extract the field "SIGNATURE SURNAME NAME"
Can you please give me a function?
Copy link to clipboard
Copied
The page property of a field object gives you a page number or an array of page numbers (when there are multiple instances of the field).