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
Guest  
#1 Posted : Friday, April 15, 2016 10:50:57 AM(UTC)
Quote
Guest

Rank: Guest

Groups: Guests
Joined: 1/5/2016(UTC)
Posts: 162

Was thanked: 5 time(s) in 5 post(s)
I have recently started looking into this and have some questions.

I can load a pdf form document into the viewer and enter information into the fields.

Using the print button off the main toolbar the pdfViewer only prints the base document not the filled in form.

I also have tried saving the filled in form by iterating through the page collection and calling FlattenPage and ended up with only the base document with form fields intact.

I am loading the documents with:
Code:
PdfViewer1.LoadDocument("pdfdocument.pdf")


And attempting the flattenPage with:
Code:

        Dim result As Enums.FlattenResults
        For Each page As Net.PdfPage In PdfViewer1.Document.Pages
            result = page.FlattenPage(Enums.FlattenFlags.NormalDisplay)

        Next
Guest  
#2 Posted : Friday, April 15, 2016 3:24:25 PM(UTC)
Quote
Guest

Rank: Guest

Groups: Guests
Joined: 1/5/2016(UTC)
Posts: 162

Was thanked: 5 time(s) in 5 post(s)
I have figured out the printing issue Needed to add FPDF_ANNOT to the Viewer Render Flags.
Paul Rayman  
#3 Posted : Friday, April 15, 2016 4:05:24 PM(UTC)
Quote
Paul Rayman

Rank: Administration

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

Thanks: 10 times
Was thanked: 133 time(s) in 130 post(s)
Also look at this https://pdfium.patagames.com/help/html/005d4fdf-995e-a740-cf1b-502be7b41983.htm please

Edited by user Friday, April 15, 2016 4:05:56 PM(UTC)  | Reason: Not specified

Quick Reply Show Quick Reply
Users browsing this topic
Guest (2)
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.