Can pdftron sdk optimize the pdf while we merge the pdfs.
Thank you for your question.
Yes, the PDFTron SDK can optimize a PDF while merging the files, however optimization is best done at the very end, so it can be document wide.
In order for us to understand this better can you please elaborate on your use case? Why is optimization during merging important for you? Can you please send us the code and the settings information that you currently use to merge PDF files so that we can analyze them on our end.
PDFTron Systems Inc.