Q:
The annotation is not appearing updated in the viewer, instead I need to zoom in or out to make it update? How do I get this to work?
----------------------------------------------------------------------------------------------
A:
If you are doing this while also viewing the document, then you need to do two additional things. You need to lock the document for read/write access (which pauses background threads that might be reading the document), and then finally notify PDFViewCtrl to refresh the affected area (since PDFViewCtrl doesn't know what you did to the document).