I have code that creates a PDF from a template File. It uses the template as a base for each of our pages.
When looking at the PDF in Adobe PDF viewer or Internet Explorer only the first page is filled out, all other pages are missing data. To give a better picture, these blank pages do show the template, so it is as it if the data is being hidden.
When the PDF is opened in Chrome all of the pages are displayed correctly and all data is filled in.
I have tracked this down to the following call.
mergeDocument.Pages.Add(newPage)
The work around I have found is to save each page as a separate file on the files system and then merge to documents like this:
mergeDocument.Append(pathToTempPDF)
Could there be something we are doing wrong with applying the template file that is causing the data to be hidden? Or, is this due to something that has changed with the PDF format that has been handled in newer versions?