Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Form Fields not vĂ­sibe when render Page
  FAQ FAQ  Forum Search   Register Register  Login Login

Form Fields not vĂ­sibe when render Page

 Post Reply Post Reply
Author
Message
sko View Drop Down
Team Player
Team Player


Joined: 13 Feb 19
Status: Offline
Points: 33
Post Options Post Options   Thanks (0) Thanks(0)   Quote sko Quote  Post ReplyReply Direct Link To This Post Topic: Form Fields not vĂ­sibe when render Page
    Posted: 11 Aug 23 at 8:25AM
Hi,

if i fill fields and then i want to fix them with

PDFLibrary.UpdateAndFlattenFormField(index);

If i do so, the fields y position is to low...

if i use
PDFLibrary.SetFormFieldReadOnly(index,1)

the position of the fields are correct, but if i use

PDFLibrary.RenderPageToFile(DPI, ViewPrintPageNum, 1, fn);

the fields are not visible!

Can you help me please?

Ciao
Stefan
Back to Top
tfrost View Drop Down
Senior Member
Senior Member


Joined: 06 Sep 10
Location: UK
Status: Offline
Points: 437
Post Options Post Options   Thanks (0) Thanks(0)   Quote tfrost Quote  Post ReplyReply Direct Link To This Post Posted: 11 Aug 23 at 10:07AM
My code uses SetRenderOptions(1,1) after FlattenAllFormFields, even though it says this is the default. But I can't now remember when or why I added it. Other things to try are SetFormFieldVisible for each item in the formfield count and SetNeedAppearances(0). I have always found rendering all types of form field a bit of a challenge!  Experiment until it works, but the next different PDF may be your next issue.
Back to Top
sko View Drop Down
Team Player
Team Player


Joined: 13 Feb 19
Status: Offline
Points: 33
Post Options Post Options   Thanks (0) Thanks(0)   Quote sko Quote  Post ReplyReply Direct Link To This Post Posted: 17 Aug 23 at 7:53AM
I don't want to test with more problems...

My solution: 
I delete the formfield ans place a fixed text at this position, so i don't need UpdateAndFlatten and not SetFormFiledReadonly!

Ciao
Stefan
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store