Hi guys,
Can you please refer me to samples/documentations to to the following:
1)User opens a pdf doc
2)User selects text in the document
3)User press a button in the wrapper application (.net) and the application call the PDF API to create a link/bookmark/cellout annotation in the doc. The annotation is creation near the selected text. The annotation contains the selected text from the document
4)User saves the PDF
5)When user clicks on the annotation he created the wrapping application get an event and opens a window
Thanks
AB
Creating annotation by code
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 664
- Joined: Tue Nov 14, 2006 12:23 pm
Re: Creating annotation by code
Hello ActionBase,
For now Viewer AX doesn't support such events as click on annotation. And you cannot get the coordinates of selected text.
You may however be interested in the special Commenting settings for the Viewer (Edit->Preferences->Commenting) which can help to create a commenting object - and copy text from the selection.
HTH.
For now Viewer AX doesn't support such events as click on annotation. And you cannot get the coordinates of selected text.
You may however be interested in the special Commenting settings for the Viewer (Edit->Preferences->Commenting) which can help to create a commenting object - and copy text from the selection.
HTH.
-
- User
- Posts: 216
- Joined: Thu Jul 08, 2004 7:29 pm
Re: Creating annotation by code
I too would like to have this type of capabilities. Please consider this a feature request.
-
- User
- Posts: 664
- Joined: Tue Nov 14, 2006 12:23 pm
Re: Creating annotation by code
Hi,
In this build we have added a function that allows you to obtain the text coordinates. Using these coordinates you can create annotation via JS.
In this build we have added a function that allows you to obtain the text coordinates. Using these coordinates you can create annotation via JS.