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, Sean - Tracker, Chris - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software

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

Adding custom text to an annotation eg call out text

Post by visual approvals » Fri Apr 11, 2014 3:06 am

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: 13662
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 » Fri Apr 11, 2014 11:33 am

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:
http://www.tracker-software.com/forum3/ ... 780#p78780
To capture when your users place new annotations and react accordingly by updating those.

Regards,
Stefan

Post Reply