PDF Form filled field is visible only after clicking on it
Question
Application Type
Reactive

Hi,

I am creating a pdf partly by

1. placeholders - filling the form fields using pdfsharp fillable pdf forge component

    works fine when used individually

2. then i add some dynamic invoice data, to this filled pdf (serving as template) using migradoc/pdfsharp dotnet libraries in my own extension method.


Everything is getting filled and invoice table as wished. But the form fields filled are not visible by default when i open in Adobe Acrobat reader. But when I click on that area, i can see the filled field text, that too only one at a time. Can somebody help me on how to make the filled form fields visible by default. I did google a bit, trying to set "/Needappearances" to true, but i get "Object reference not set to an instance of an object." exception, when I set it on my pdfdocument

The filled fields are however visible by default when I open the pdf in browser, however the font is not correct. 

I would appreciate any quick help. 

Thanks

Pavithra





Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.