PDF javascript to toggle display of image not working.

12 views
Skip to first unread message

Ryan

unread,
Jul 7, 2017, 7:43:39 PM7/7/17
to PDFTron PDFNet SDK
Question:

I have a PDF that contains a field button, that when clicked, toggles an image on/off.

But with PDFNet SDK it does not work.

Answer:

PDFNet javascript implementation only supports editing field values, and not general document editing, such as deleting pages.

Hiding an image would be better done through PDF layers (optional content groups).
Reply all
Reply to author
Forward
0 new messages