I have a Tenant details PDF file which is more than 500 pages. The PDF file has header in every page which shows Tenant Id on every page. One Tenant’s record is spread over multiple pages. I need to split the pdf file based on each Tenant Id.
[Eg : Tenant 1 has data on first 7 pages; Tenant 2 from 8 to 19 … ; so my first pdf file after split should contain page 1 to 7; second should contain 8 to 19… and so on].
I am able to fetch Tenant Id using Regex but not able to use it further to split.
The file name after split should be Tenant id.
Any help or Xaml will be appreciated