I have 3 invoices and I want to split each page of those invoices and want to create new pdf files for each page and save them in my output folder. Problem is it splits all pages for first invoice and only three pages for last invoice from my input folder.
This is my Input Folder
This is result showing in my Output Folder.
SplitNMerge.zip (566.4 KB)
Main.xaml (11.0 KB)
Hi @Arijit_Sarkar ,
Your code is missing re-initialization of the intCurrentPage variable after each pdf is splitted:
Just after the while loop, use an assign and make the intCurrentPage value as 1
Main.xaml (11.3 KB)
Appreciate your help! Thanks for sharing the knowledge!!!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.