AB4D Forum
Rubberband - Printable Version

+- AB4D Forum (https://forum.ab4d.com)
+-- Forum: Products Forums (https://forum.ab4d.com/forumdisplay.php?fid=4)
+--- Forum: ZoomPanel (https://forum.ab4d.com/forumdisplay.php?fid=8)
+--- Thread: Rubberband (/showthread.php?tid=37)



Rubberband - cjlindstrom - 05-18-2010

Can you suggest how I could implement a rubberband type selection feature? I need to allow the users to select a region of interest.


RE: Rubberband - abenedik - 05-20-2010

How to get the rubberband rectangle coordinates see the previous post in this Forum (http://forum.wpf-graphics.com/showthread.php?tid=36)

When you have coordinates, you can do a Hit test with RectangleGeometry - see the following sample on MSDN: http://msdn.microsoft.com/en-us/library/system.windows.media.geometryhittestparameters.aspx

I haven't testes it, but I think it should work.