We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Hit Testing

Thread ID:

Created:

Updated:

Platform:

Replies:

32974 Aug 10,2005 02:46 PM Aug 11,2005 07:37 PM Windows Forms 3
loading
Tags: Diagram
Jeff Fansler
Asked On August 10, 2005 02:46 PM

Is it possible for me to find all the symbols within a diagram that intersect a given rectangle? I assume it would be similar to the select tool except I want to do it programaticaly and I don''t want the symbols to be selected, I just want a list of them. Thanks, -Jeff

Administrator [Syncfusion]
Replied On August 11, 2005 08:09 AM

See if Model.GetChildrenContainedBy works for you.

Administrator [Syncfusion]
Replied On August 11, 2005 03:55 PM

Jeff, The Diagram.Model.GetChildrenContainedBy method should do the trick. If you would rather deal in screen coordinates, you can also try the View.GetNodesContainedBy(...) or View.GetNodesIntersecting(...) methods. Regards, Prakash Surendra Syncfusion Inc.,

Jeff Fansler
Replied On August 11, 2005 07:37 PM

Thanks Prakash, GetChildrenContainedBy worked. -Jeff >Jeff, > >The Diagram.Model.GetChildrenContainedBy method should do the trick. If you would rather deal in screen coordinates, you can also try the View.GetNodesContainedBy(...) or View.GetNodesIntersecting(...) methods. > >Regards, >Prakash Surendra >Syncfusion Inc.,

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;