All Pages After The First Page Are Blank

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Generator for .NET (v6.x)  /  Display Thread

DynamicPDF Generator for .NET (v6.x) Forum

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?
I was able to test this with DynamicPDF v10 and this is issue still persists. We must be doing something wrong when merging the documents.
Posted by a ceTe Software moderator
Hi,

It's hard to say from your description what is happening here. Please send the PDF and sample code recreating the issue to support@dynamicpdf.com so we can look into it further.

Thanks,
ceTe Software Support Team

All times are US Eastern Standard time. The time now is 9:50 AM.