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, November 4, 2019 4:32:06 AM(UTC)
Quote
paleise

Rank: Advanced Member

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

Thanks: 2 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)
Quote
Paul Rayman

Rank: Administration

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

Thanks: 3 times
Was thanked: 109 time(s) in 106 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)
Quote
paleise

Rank: Advanced Member

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

Thanks: 2 times
Hi Paul, thank you for your answer. I will try it.
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.