Visio Guy

Visio Discussions => Programming & Code => Topic started by: knowbots on November 21, 2008, 05:17:24 PM

Title: shape on other shape
Post by: knowbots on November 21, 2008, 05:17:24 PM
Hello people...

I'm from Brazil.

I need to know when a shape is on other shape...

What function do this ??

Thanks
Title: Re: shape on other shape
Post by: wapperdude on November 21, 2008, 06:26:56 PM
Not sure what you need -- my guess is you want to move / place a shape on top of an existing shape?  To do that select the shape you want on top and then go to menu bar > Shape > Order > Bring to Front, or key combo = Cntl-Shift-F.

HTH
Wapperdude
Title: Re: shape on other shape
Post by: Paul Herber on November 21, 2008, 06:40:17 PM
Get the X and Y coordinates and height and width of one of the shapes, then use the SpatialSearch method for the page with the X, Y, height and width coordinates. The SpatialSearch method takes all its parameters in inches so divide millimeters by 25.4
The method returns a selection object of all shapes within the coordinates.

Title: Re: shape on other shape
Post by: knowbots on November 21, 2008, 07:00:03 PM
Thanks all For help-me.

Great Paul Herber, it's exactly that i need !!!!

see you
Browser ID: smf (is_webkit)
Templates: 1: Printpage (default).
Sub templates: 4: init, print_above, main, print_below.
Language files: 1: index+Modifications.english (default).
Style sheets: 0: .
Hooks called: 50 (show)
Files included: 25 - 925KB. (show)
Memory used: 761KB.
Tokens: post-login.
Cache hits: 7: 0.00134s for 22,301 bytes (show)
Cache misses: 1: (show)
Queries used: 9.

[Show Queries]