Hi Guys,
A quick evaluation of your samples shows 2 types of APIs:
The viewer API (imports from pxcview) and working with IntPtr as the handle to the document (working with C#) and
the tools SDK (imports from pxclib40) that works with int as the handle to the document.
I want to combile the functionalities: I need to write a viewer (using your viewer control), and to provide document oprtations on the opened document (such as PXC_AddTextAnnotationA).
Where to start?
Thanks
AB
Newbie questions - integrating viewer and pxclib40 function
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 3
- Joined: Wed Nov 11, 2009 11:37 am
-
- Site Admin
- Posts: 677
- Joined: Thu Jun 28, 2007 8:42 am
Re: Newbie questions - integrating viewer and pxclib40 function
Sorry, but you cannot mix calls between libraries - pxclib40, xcpro40 and pxcview are different libraries and cannot share same document.
Of course you can try to open documet in pxcview and xcpro40 same time, but changes made in xcpro40 will be not present in pxcview document until you save changes in xcpro40 and reload document in pxcview. We plan to merge theese libraries into one, but it will be avail only next year.
Looks like Viewer ActiveX is more suitable for your demands, at least for now.
Of course you can try to open documet in pxcview and xcpro40 same time, but changes made in xcpro40 will be not present in pxcview document until you save changes in xcpro40 and reload document in pxcview. We plan to merge theese libraries into one, but it will be avail only next year.
Looks like Viewer ActiveX is more suitable for your demands, at least for now.
Victor
Tracker Software
Project manager
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software
Project manager
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 3
- Joined: Wed Nov 11, 2009 11:37 am
Re: Newbie questions - integrating viewer and pxclib40 function
Thanks.
So 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
So 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
-
- User
- Posts: 664
- Joined: Tue Nov 14, 2006 12:23 pm