News:

Happy New Year!

Main Menu

making a good stencil

Started by novski, March 28, 2014, 01:45:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

novski

hi
i found some shapes in stencils i downloaded that i can make big and smal with draging one of the edges.
With my own ones i can't do that because of the Text that doesn't grow or shrink in the same way...

How is that done?

Thanks

vojo

probably half dozen ways.   This is how I do it

1.  Define a user cell in the shapesheet     user.txtscale = width / orginal width
         For example, original width is say 30mm so         = width / 30mm                  you need the "mm"
2.  In the text section,                             fontsize = <original font size> * user.txtscale
         for example, original font size is 10pt so       = 10pt *user.txtscale
         so now you shrink in half so                         = 10pt *user.txtscale = 10pt *(15mm / 30mm) = 5pt

wapperdude

Not sure the following link is still good, but it deals with sizing text with shapes:  http://blogs.msdn.com/b/visio/archive/2006/08/11/694681.aspx

Visio Guy has a good article:  http://www.visguy.com/2007/08/21/text-resizing-with-shapesheet-formulas/

Then, for general text treatments/behaviors:  http://msdn.microsoft.com/en-us/library/aa200986(v=office.10).aspx

HTH
Wapperdude
Visio 2019 Pro

novski

Hey thanks for those links! Looks like i can manage to get a resizing Text now. Still im not shure if thats all...
As i look in to the shapes of Hewlet Packard, Cisco or other big companys that shapes of theyr products seam all very well done...
I can pull them out of the library and they show just the 19" width with a line so it doesn't even take CPU time to place them as mine do.

I thaugt that there must be a certain way to make such compact  package or somethin like that...? Does something like a packager tool exist?

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: 201 (show)
Files included: 32 - 1207KB. (show)
Memory used: 1045KB.
Tokens: post-login.
Cache hits: 13: 0.00173s for 26,553 bytes (show)
Cache misses: 3: (show)
Queries used: 17.

[Show Queries]