We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to view Form fields in the PDF document in PdfViewer control?

Platform: WinForms |
Control: PdfViewer

At present, Essential PdfViewer do not support viewing form fields or annotations present in the document. If PDF documents contains Form fields content. We have to flatten the Form fields before loading the document into PDFViewer control by setting the Form flatten value as true.

Code snippet to flatten the form fields.



        private void Form1_Load(object sender, EventArgs e)
            //Create an instance PdfLoadedDocument and load the document contain  form fields
            PdfLoadedDocument loadedDocument = new          PdfLoadedDocument("C:/Temp/formfield.pdf");
            //Set the flatten property for forms field as true 
            loadedDocument.Form.Flatten = true;
            //Save the flatten document 
            //Load the flatten document into PDFViewer 






2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile