Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

Stacked Annotations

More
IP: 91.66.119.45 4 years 8 months ago #15686 by ntbo
Stacked Annotations was created by ntbo
Hi there,
we've got a PDF with two annotations containing URIs stacked on top of each other, so there is a bigger annotation containing an URI and within the bigger annotation is another smaller one containing a different URI.The Problem is that OnPDFOpenURI() is always called with the URI of the underlying annotation even though both annotations are visible when I set Global.hideAnnots(false).
The PDF was not created with Radaee but other PDF Readers are able to retrieve the URI from the annotation on top when clicked in that area.

Is there a way to achieve this with the Radaee Library as well?

Thanks in advance
More
IP: 2.234.168.74 4 years 8 months ago #15687 by support
Replied by support on topic Stacked Annotations
Dear ntbo,
      as you see annotations are layered and currently, the RadaeePDF framework is resolving the touched layer using its coordinates and z-order.
May you provide your PDF file so we will evaluate how to deal with your request.

 
More
IP: 111.196.244.137 4 years 8 months ago #15688 by radaee
Replied by radaee on topic Stacked Annotations
dear user:
we supply 2 ways to get annotation:
1. from point coordinate, this always get top one.
2. get annotation by index.
 
More
IP: 91.66.119.45 4 years 8 months ago #15689 by ntbo
Replied by ntbo on topic Stacked Annotations
Hey Radaee,

thanks for your reply, unfortunately I am not able to share the original PDF we've got a problem with, but if needed I can create an example one with the same layered annotations.

But regarding your explanation, that would mean, we should (at least in theory) get the correct result, right? Since onSingleTapConfirmed(MotionEvent e) calls GetAnnotFromPoint() with the motionEvent coordinates and that should give us the URI from the top annotation, unfortunately this is not the case. Any idea what might be wrong here?
More
IP: 91.66.119.45 4 years 7 months ago #15690 by ntbo
Replied by ntbo on topic Stacked Annotations
Hello everyone,

are there any updates from your side? Anything that can help me with this issue?
Time to create page: 0.411 seconds
Powered by Kunena Forum