ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 PDFIum Demo PDFViewerFormFields no Editing after Print
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Ralf

120 Posts

Posted - Feb 29 2024 :  03:32:34  Show Profile  Reply
Hello,

in the Demo PDFViewerFormFields i insert a Button with ImageEnView1.PdfViewer.Print(false); After printing the PDF Form i can't Edit the Form again

Best regards
Ralf

xequte

38616 Posts

Posted - Mar 03 2024 :  17:23:22  Show Profile  Reply
Hi Ralf

Unfortunately I do not see anyway around that. Printing of a form with content with PDFium requires the page to be "flattened" and once the page has been flattened it cannot be restored without reloading the content (which would clear form content).



Nigel
Xequte Software
www.imageen.com
Go to Top of Page

Ralf

120 Posts

Posted - Mar 04 2024 :  02:29:34  Show Profile  Reply
Hello Nigel,
ok i know save to Stream -> Print -> Load from Stream.

That seems to work. Maybe i must set any flags in the PDFViewer to it's old value. But that i must see.

If you know any other position or action where this "flattened" can be a problem your are welcome.

Best regards
Ralf
Go to Top of Page

xequte

38616 Posts

Posted - Mar 04 2024 :  16:41:15  Show Profile  Reply
Hi Ralf

Yes, this is the work around we have currently implemented. You can email me for the beta if you like.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: