logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Post a reply
From:
Message:

Maximum number of characters in each post is: 32767
Bold Italic Underline   Highlight Quote Choose Language for Syntax Highlighting Insert Image Insert an existing Attachment or upload a new File... Create Link   Unordered List Ordered List   Left Justify Center Justify Right Justify   Outdent Indent   More BBCode Tags
Font Color Font Size
Security Image:
Enter The Letters From The Security Image:
  Preview Post Cancel

Last 10 Posts (In reverse order)
Paul Rayman Posted: Monday, December 14, 2020 4:36:52 PM(UTC)
 
After flattening, you need to save the document and reopen it in the viewer
paleise Posted: Monday, December 7, 2020 6:59:55 AM(UTC)
 
Hi,
I'm loading a pdf file with formfields in pdfviewer and set the values of each field. After that I want flat the page in the viewer so no fields are shown only the values. There is a method PdfViewer.Document.Pages[x].FlattenPage(a) but nothing happens:

pdfViewer.LoadDocument(pdfFile)
pdfViewer.Document.FormFill.InterForm.Fields["x"].Value = "ksdf";
pdfViewer.Document.Pages[0].FlattenPage(FlattenFlags.NormalDisplay);

How can I solve this?
Thanks for your time.

Regards Peter