Click here to Skip to main content
15,896,201 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have one problem in my task. I want to merge more than two pdf file into one pdf file using gridview checkbox selected row wise.

eg. suppose i am selecting the three row or four row using checkbox only selecting rows pdf file are merge to the one single pdf file and get the output of it.


please help me
Posted

1 solution

PDF files are self-contained documents with internal cross referencing, object IDs and so on. You can't just run them together. You either need a PDF reading/writing library or, if the PDFs are simple and you can follow the format, you need to read in all the objects, renumber the IDs of the objects, update the PageCatalog, and fix the cross reference table.

See the PDF spec (here[^] is the spec for v1.4) for more details if you want to go down the route of reading the files yourself.

This is really not a job for a stored procedure, there is serious coding involved.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900