Place text dinamically

48 views
Skip to first unread message

Samuele Panarotto

unread,
Jan 17, 2015, 9:59:04 AM1/17/15
to pdfnet-w...@googlegroups.com
Good morning,

is there a way, in java or javascript, to place a text with a pre-created phrase in a position of the document?

Thank you

Matt Parizeau

unread,
Jan 19, 2015, 9:00:42 PM1/19/15
to pdfnet-w...@googlegroups.com
Hi Samuele,

See this post for information on how to add a DOM element over top of the page: https://groups.google.com/d/msg/pdfnet-webviewer/Kth8hiwNs6Q/VAbzB-8cYQIJ

If it's just a phrase then you may want to look into creating a FreeText annotation and placing it where you like on the page. This page has an example of programmatically adding a FreeText annotation: https://groups.google.com/d/msg/pdfnet-webviewer/YCHK1TQp3pg/48Q-Mn6zFcgJ

Matt Parizeau
Software Developer
PDFTron Systems Inc.
Reply all
Reply to author
Forward
0 new messages