resize shape

L

Louis

Hello,

I have created a VB addon for Visio 2007.
When i am changing the Text of a shape (a box) from my addon, i want to
resize the shape so that the text can fit inside.

How can i do that in vb?
 
M

Mark Nelson [MS]

That's easily done without code using the Shapesheet. If you can't modify
the shape beforehand, your code could set up the Shapesheet formulas as
needed. It would be significantly harder to calculate the necessary shape
size yourself.

http://blogs.msdn.com/visio/archive/2006/08/15/694710.aspx

--
Mark Nelson
Office Graphics - Visio
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
 

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