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

Notification

Icon
Error

New Topic Post Reply
Options
Go to last post Go to first unread
paleise  
#1 Posted : Monday, December 7, 2020 9:59:55 AM(UTC)
Quote
paleise

Rank: Advanced Member

Groups: Registered
Joined: 10/13/2017(UTC)
Posts: 46
Germany
Location: Freiburg

Thanks: 2 times
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
Paul Rayman  
#2 Posted : Monday, December 14, 2020 7:36:52 PM(UTC)
Quote
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 961

Thanks: 3 times
Was thanked: 115 time(s) in 112 post(s)
After flattening, you need to save the document and reopen it in the viewer
Quick Reply Show Quick Reply
Users browsing this topic
New Topic Post Reply
Forum Jump  
You can post new topics in this forum.
You can reply to topics in this forum.
You can delete your posts in this forum.
You can edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.