Use Extract PDF Range with a random number to extract individual PDF pages, as many as you require. Save these to a common folder. Then use Join PDF Files to merge the newly generated PDFs. Delete the individual files after and you’ll be left with a PDF comprised of randomly selected pages from the original.
To generate the random number create a new
System.Random variable, mine is simply called
rand. Then you can do
rand.Next(1,600) to get a random number between 1 and 600 inclusive. I
Check this thread. May be it will help to you.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.