Bug detected when saving a file, in gdpicturepdf and gdviewer, in winform, when using pack:true argument
Posted: Mon May 22, 2017 8:40 pm
Hi,
We are experiencing a strange bug with gdviewer, when used in coordination with gdpicturepdf.
- pdf file is loaded in gdpicturepdf
- gdviewer load from this gdpicturepdf
- add embedded image annotation interactive
- catch annotationaddedbyuser event, and do :
-- save the document with gdpicturepdf.savetofile, with pack=true
-- gdviewer.refresh()
-- gdviewer.displaypage(currentpage)
=> The annotation is moved to the last page.
The issue is not present when using pack=false
I have attached a modified version of your "Annotation sample", with the link between gdpicturepdf and gdviewer, where you can easily reproduce the issue.
Thanks for reviewing this bug.
Regards,
We are experiencing a strange bug with gdviewer, when used in coordination with gdpicturepdf.
- pdf file is loaded in gdpicturepdf
- gdviewer load from this gdpicturepdf
- add embedded image annotation interactive
- catch annotationaddedbyuser event, and do :
-- save the document with gdpicturepdf.savetofile, with pack=true
-- gdviewer.refresh()
-- gdviewer.displaypage(currentpage)
=> The annotation is moved to the last page.
The issue is not present when using pack=false
I have attached a modified version of your "Annotation sample", with the link between gdpicturepdf and gdviewer, where you can easily reproduce the issue.
Thanks for reviewing this bug.
Regards,