LEADTOOLS Support
General
General Questions
problem in multiple overlapping annotation objects in a single bitmapviewer
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, December 16, 2009 9:23:54 PM(UTC)
Groups: Registered
Posts: 17
hi, i've just seen this error late in development. I'm using V16 WPF and my own custom code for changing visibility of multiple annotations in a bitmapimageviewer. what i mean with changing visibility is: the left side of the application contains several individual image files contained in a list. when selecting different left side items, the bitmapimageviewr changes image based on the currently selected left side item. my custom annotation code handles the visibility (visible or collapsed) of all annotations in the bitmapimageviewer which depends on the left side selected item. I have no problem with annotations thus far. But a problem do arise when the annotations (all annnoteobjects) are overlapping. in design mode, only 1 annotation is visible but if there is a hidden (collapsed) annotation that was created after the visible one was created, it would seem that the hidden annotation gets to be selected when I click on their overlapping part.
since this is in design mode, I have no idea how i can intercept the click event and maybe select the appropriate "visible" annotation, instead of the automated one selecting what it sees as the newly created annotation as on top.
thanks
#2
Posted
:
Thursday, December 17, 2009 5:47:02 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Can you provide me with more details regarding this issue? More specifically:
1) Does issue happen with the pre-built demos that ship with our toolkit?
2) If yes, what are the exact steps to reproduce this issue using our pre-built demos?
3) If not, can you create a small sample project (not your full application) and send it to me in a ZIP or RAR file?
If you want to attach a file in the forums, do not use the 'Preview' option.
You can either attach the sample file here or send it to
support@leadtools.com and mention this post.
#3
Posted
:
Monday, December 21, 2009 3:36:50 AM(UTC)
Groups: Registered
Posts: 17
Hi I already sent sample project to
support@leadtools.com. attaching a 5MB file doesn't seem to be working in the posting. hope you can take a look at it thanks.
#4
Posted
:
Monday, December 21, 2009 4:55:10 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
I have received your email and replied to you in ticket # 2009122110000082 in which I sent you the attached project that uses a different approach.
I have used the AnnCodecs.Save and AnnCodecs.Load to show/hide the annotations of the other (non-selected) pages. You don't have to save the ANN file to disk, you can save it to memory.
Please either continue working on this issue here or through the email (reply to same ticket).
#5
Posted
:
Monday, December 21, 2009 8:41:27 PM(UTC)
Groups: Registered
Posts: 17
Thanks, looks like this works.
LEADTOOLS Support
General
General Questions
problem in multiple overlapping annotation objects in a single bitmapviewer
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.