News:

Happy New Year!

Main Menu

Resizing Shape

Started by Gregory Jackson, October 28, 2011, 12:29:16 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Gregory Jackson

I have created several of my own shapes in Visio and I wanted to know just a couple of things. When I grab a corner connection point and start to decrease the size of my newly created object the line thickness  and text/font size  does not decrease in size as well. Thus I have to manually go and select each line or group and change the lines and text. It the a shapesheet formula I can create to do this automatic?  Secondly how do I give my newly created object a properties value (i.e. when I right click on an item that is in a default stencil it has a properties selection at the very bottom of the menu appears and when I select it the shape date window appears.

I have given my item property values using the shapesheet  data.

Thanks,

Greg

wapperdude

Well, for starters, most of this can be done in the shapesheet.  Check out this link. 
I believe everything still applies:  http://msdn.microsoft.com/en-us/library/aa245244(v=office.10).aspx, Developing Microsoft Visio Solutions

Alternatively, download the SDK, it is full of information, examples, etc. 

Also, there is this link: http://blogs.msdn.com/b/visio/archive/2006/08/11/694681.aspx, Sizing Text with Shapes

To see this in action, check out this entry:  http://visguy.com/vgforum/index.php?topic=962.0, Drawing Scale Symbol: a smartshape

For line widths that scale, I believe the 1st link has info.  Basically, in the Line Format section, for LineWeight, you would make an equation that uses some scale factor * width, e.g., (0.72 pt)*2*Width

HTH
Wapperdude
Visio 2019 Pro

Gregory Jackson

Thanks greatly appreciate it.. Text is working great, still working on line but this help a great deal.

Gregory Jackson

Got it all working now lines and text both resizing and scaling.

Thanks for all the help and suggestions..

This Site Rocks!!!!

~r

Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 208 (show)
Files included: 32 - 1207KB. (show)
Memory used: 1040KB.
Tokens: post-login.
Cache hits: 13: 0.00135s for 26,597 bytes (show)
Cache misses: 2: (show)
Queries used: 16.

[Show Queries]