I got a call today that our PDFs are blank on iPhones (IOS 7.1.1) and Samsung Note 4s. They display fine on desktop and on my Samsung Galaxy S4.
I tried it on an iPad and they’re right: IOS devices can’t see (filled-in) merge fields at all.
I got a call today that our PDFs are blank on iPhones (IOS 7.1.1) and Samsung Note 4s. They display fine on desktop and on my Samsung Galaxy S4.
I tried it on an iPad and they’re right: IOS devices can’t see (filled-in) merge fields at all.
This was the fix.
var doc = new Aspose.Pdf.Document(mem);
doc.Flatten();
doc.Save();
mem.Position = 0;
Is this in a code review for canonical? Should it be?
The downside to using this method is that the fields are not editable after you flatten. So, you couldn’t fill out a form with guessed values and have a user open it and correct or fill out the rest. Perhaps it should be a boolean with a comment explaining when it’s important.
It’s not pushed to Canonical: was waiting for this discussion.