Resizing a shape

D

dave

I'm still trying to figure out how this can be done. Basically I wanting to
resize one shape that is contained within another shape. The resizing of
the first shape uses parameters from the second shape.
Something like A square shape within a retangle shape. The square shape
would be resized until width and length offest the rectangles sizes by one
inch. I've tried recording a macro uses the square's handles without any
inspiration.

Any pointers would be great.
Dave
 
D

David Parker [Visio MVP]

By the number of questions ou have, you are getting serious about Visio
development.
Suggest that you read Developing Microsoft Visio Solutions (
http://msdn.microsoft.com/library/d...n-us/devref/html/DVS_01_Introduction__544.asp )
It is a shame that this book was not revised for Visio 2003, but it is still
an excellent book. It can be bought, or read online at the URL above.

Your question could be answered in several ways, depending on your
requirements. Perhaps you are aiming at the accept shapes on drop behaviour
for groups? In this scenario your square is a seperate shape that can be
optionally dropped within the rectange, and then resizing the rectangle
would resize the square. Check out the Boundary shape in the Enterprise
Application stencil under Software.
 
D

Dave

Hi David
Thanks for the reply,
I'm really very new to visio shapes. I'm interested in accept shapes on
drop behaviour. I've check the boundary shape and dropped it onto a
document. Mine doesn't display any behavior. It just lays there... What
behavior is present with this shape?
dave
 
D

David Parker [Visio MVP]

Try dropping one of the other shapes on the stencil on to it - the second
shape will become glued in place.
 
D

Dave

Thanks David,

I see how that works. The dropped shape glued to shape. That certainly
handles the resizing after its dropped. The behavior(if that is the right
word) I would like to explore relates to the dropped shape. The dropped
shape(square) would be resized to equal the width of ToBeDroppedOn shape.
How would that be handled?
Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top