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

Notification

Icon
Error

Options
Go to last post Go to first unread
paleise  
#1 Posted : Monday, November 4, 2019 4:32:06 AM(UTC)
paleise

Rank: Advanced Member

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

Thanks: 1 times
Hi,
I'm showing pdf file with some fields in the pdfViewer. I want to disable/enable edit of form fields with button. I'm able to disable/enable the the viewer, but then I can not scroll the document.

Thanks for your time.
Peter
Paul Rayman  
#2 Posted : Wednesday, November 6, 2019 6:33:46 AM(UTC)
Paul Rayman

Rank: Administration

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

Thanks: 2 times
Was thanked: 103 time(s) in 101 post(s)
Tryto load document without PdfForms

Code:
var doc = PdfDocument.Load(@"test.pdf", null);
pdfViewer1.Document = doc;


Also you should youse FPDF_ANNOT render flag in this case.
Please read more about this flag here:
https://forum.patagames....g-of-the-FPDF-ANNOT-flag
paleise  
#3 Posted : Wednesday, November 6, 2019 6:37:38 AM(UTC)
paleise

Rank: Advanced Member

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

Thanks: 1 times
Hi Paul, thank you for your answer. I will try it.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.