Adding custom text to an annotation eg call out text

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
visual approvals
User
Posts: 33
Joined: Wed Jul 10, 2013 6:29 pm

Adding custom text to an annotation eg call out text

Post by visual approvals »

Hello There,
I would like to be able to programmatically set the text to appear in a "Callout" or Text box annotation object.
Can someone offer some hints as to how this might be achieved

At present the text box of the callout annotation has no text in when the user draws the annotation

many thanks


VB .net is preferred language...if possible
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17824
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Adding custom text to an annotation eg call out text

Post by Tracker Supp-Stefan »

Hello visual approvals,

You can manipulate annotations using JS and the RunJavaScript() method our Viewer AX SDK offers.
And you can listen for the "Notifications.NewAnnotAdded" event:
https://forum.pdf-xchange.com/ ... 780#p78780
To capture when your users place new annotations and react accordingly by updating those.

Regards,
Stefan
Post Reply