Creating Markups programmatically when a document has more than one page
897019Nov 4 2011 — edited Nov 4 2011Hello All,
I am trying to create an application where a Text Markup has to be created programmatically and applied over the currently opened pdf document. I used the docs\AutoVueAPIProgrammersGuide.pdf & examples\AWTSample\AWTSample.java for reference. I was successful in creating the markup programmatically and applying it on pdf document when it had only one page. But when the document had more than one page my markup gets applied on the same page even after moving to the subsequent pages using vueBean.setPage(vueBean.getPage()+1);
By looking at the behavior of the VueBean it looks like the VueBean has reset the view to the next page but the control is still on the previous page. Is there anything else that i have to set other than the page number on the VueBean.
Thanks in advance,
Dwarka