Skip to main content
Inspiring
June 21, 2023
Answered

function to extract pages

  • June 21, 2023
  • 2 replies
  • 768 views

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?

This topic has been closed for replies.
Correct answer Bernd Alheit

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).

2 replies

Bernd Alheit
Community Expert
Bernd AlheitCommunity ExpertCorrect answer
Community Expert
June 21, 2023

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).

try67
Community Expert
Community Expert
June 21, 2023

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).

ENE5CD9Author
Inspiring
June 21, 2023

Thanks for the information.
I would like to extract the field "SIGNATURE SURNAME NAME"
Can you please give me a function?