During last few days we're experiencing some delay in website stmp provider channel.
Some notification email from the website might not reaching containers.
We're working on a definitive solution.
Questions about Android development and PDF
TOPIC: GetAnnotFromPoint(x,y) always returns null
GetAnnotFromPoint(x,y) always returns null
3 years 1 month ago #8967
I have trouble in trying annotation function, when tap on a annotation, the GetAnnotFromPoint(x,y) always return null. I have used the method like this:
1) Global.Init( this );
2)m_doc.Open( bookPath, "123456q" );
3)m_reader.PDFOpen(m_doc, false, this);
Is there any problem? Or, what's the pre-condition of correctly GetAnnotFromPoint?
I used your demo application and the same document, it runs ok when click on annotation and turn to the destination page. I just replace the book browser, hide controls that added on the page. The way of opening the document is almost the same.
if u are using standard license or no license actived, it always return null.
the demo shall works, which actived a premium license inside.
if u implement event by yourself.
u shall convert screen coordinate to PDF coordinate, then pass PDF coordinate to GetAnnotFromPoint()
others, if u got Page object by Document.GetPage() u shall invoke Page.ObjsStart() first.