Page 1 of 1

LoadAnnotationFromXMp(stream) method

Posted: Wed Nov 21, 2012 2:51 pm
by hardikv
Hello All,

We have multiple page pdf with annotation on page 1 and page 2 then we save it in xmp file .
After that when we load another multiple pdf in gdviewer and add annotation on page 1 ,page 2 and page 3 then we load the saved xmp file so we see that remove the added annotation on page 1 and page 2 but it is not deleted from page 3.

So what can we do to delete all annotation from gdviewer and load to saved xmp file.

Re: LoadAnnotationFromXMp(stream) method

Posted: Mon Apr 01, 2019 2:28 pm
by Gabriela
Hi,

We are sorry for being so late in answering. Annotations are always treating relative to the current page, so you need to be careful about that.
Please refer to methods for saving annotations:
for the current page:
SaveAnnotationsToXMP Method (GdViewer)

for all pages:
SaveAnnotationsToXMPEx Method (GdViewer)


If you are experiencing any issue with the current release, just let us know.