Discussion:
How To Set Every Text Box To 125% of its text width?
(too old to reply)
G
2010-05-24 04:36:01 UTC
Permalink
I am using Visio 2003 Std.

In Visio, I was using the ShapeSheet and using Insert Menu to select Text
Transform. I was not able to select Text Transform until there was a text
box on my template. What did I do wrong ??

There was an article aa200988 by msdn that indicated setting the txtWidth =
Max(TextWidth(theText),8*Char.Size). I was going to change the 8 to 10 to
just give me more textwidth so that when I resize, text wrap around would not
happen.

I like a way to set all my text to have a percentage text width wider that
is based on the number of text characters. Can some one help show me how
to do this ??? I tried and failed.

Is there a way to do this with an existing Visio drawing too ????

Thanks,

G
Paul Herber
2010-05-24 14:33:23 UTC
Permalink
Post by G
I am using Visio 2003 Std.
In Visio, I was using the ShapeSheet and using Insert Menu to select Text
Transform. I was not able to select Text Transform until there was a text
box on my template. What did I do wrong ??
You can't select it if it isn't there! If it isn't there then add it. menu Insert ->
Section
Post by G
There was an article aa200988 by msdn that indicated setting the txtWidth =
Max(TextWidth(theText),8*Char.Size). I was going to change the 8 to 10 to
just give me more textwidth so that when I resize, text wrap around would not
happen.
try something like
txtWidth = Width * 1.25
--
Regards, Paul Herber, Sandrila Ltd.
Electronics for Visio http://www.sandrila.co.uk/visio-electronics/
Electrical for Visio http://www.sandrila.co.uk/visio-electrical/
Electronics Packages for Visio http://www.sandrila.co.uk/visio-electronics-packages/
G
2010-05-24 20:38:08 UTC
Permalink
The suggestion does work for the select text box !!!

When I add a new text box, the default width is just over 2 inches wide.
When I select that text box, and check on the Text Transform, the width is
still the degault from MS Visio. Once I change it to = Width * 1.25, it
works.

Is there a way when I place a text box on my drawing, that after entering
text, it gets resize to 1.25 of the width ????

I seems that I will need to select all of the text to do this ???

Will this process work for old drawings ???

Thank You,

G
Post by Paul Herber
Post by G
I am using Visio 2003 Std.
In Visio, I was using the ShapeSheet and using Insert Menu to select Text
Transform. I was not able to select Text Transform until there was a text
box on my template. What did I do wrong ??
You can't select it if it isn't there! If it isn't there then add it. menu Insert ->
Section
Post by G
There was an article aa200988 by msdn that indicated setting the txtWidth =
Max(TextWidth(theText),8*Char.Size). I was going to change the 8 to 10 to
just give me more textwidth so that when I resize, text wrap around would not
happen.
try something like
txtWidth = Width * 1.25
--
Regards, Paul Herber, Sandrila Ltd.
Electronics for Visio http://www.sandrila.co.uk/visio-electronics/
Electrical for Visio http://www.sandrila.co.uk/visio-electrical/
Electronics Packages for Visio http://www.sandrila.co.uk/visio-electronics-packages/
.
Paul Herber
2010-05-24 22:02:46 UTC
Permalink
Post by G
The suggestion does work for the select text box !!!
When I add a new text box, the default width is just over 2 inches wide.
When I select that text box, and check on the Text Transform, the width is
still the degault from MS Visio. Once I change it to = Width * 1.25, it
works.
Is there a way when I place a text box on my drawing, that after entering
text, it gets resize to 1.25 of the width ????
I seems that I will need to select all of the text to do this ???
Will this process work for old drawings ???
Create a text box shape to suit your needs, save it to a new stencil.
You can now use this shape for all your future text box needs.

There is a way to do this for all your old drawings. It involves downloading and
installing some software from my website. You may like it so much that...

http://www.sandrila.co.uk/visio-utilities/

and look at menu SuperUtils - > Shape -> Shape substitute
It can replace all your old text boxes with your shiny new shape in just a few seconds per
diagram.

Simples.
--
Regards, Paul Herber, Sandrila Ltd.
Electronics for Visio http://www.sandrila.co.uk/visio-electronics/
Electrical for Visio http://www.sandrila.co.uk/visio-electrical/
Electronics Packages for Visio http://www.sandrila.co.uk/visio-electronics-packages/
Continue reading on narkive:
Loading...