Hi,

one of the requirements for an iPad app I'm currently working on is to view, 
add and edit PDF annotations. I chose to use PoDoFo for this task, and so far 
it's working great for the viewing and adding part of the requirements.

However, I'm not quite sure how I would go about editing existing annotations. 
When I grab a PdfAnnotation off a PdfPage and make changes to it, 
PdfDocument->Write() doesn't save these changes back to disk. I'm probably just 
missing a step or overlooked something in the documentation, but I couldn't 
find an answer for this (documentation, Google, list archives).

So far, the only solution I see is using PdfPage->CreateAnnotation() to create 
a new annotation with the same values, deleting the old one and saving the 
document, but that strikes me as odd.

Can someone point me in the right direction?

Cheers,
Alex

--
Alexander Repty
Mac & iOS Software

http://alexrepty.com/
[email protected]
http://twitter.com/arepty


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to