Visio Guy

Visio Discussions => Shapes & Templates => Topic started by: Astromere on April 29, 2011, 09:01:45 PM

Title: Text overflow orientation
Post by: Astromere on April 29, 2011, 09:01:45 PM
When you type more text than can fit on a line, Visio automatically expands to a new line and limits the horizontal growth in favor of vertical growth.  I'm trying to figure out how to allow the text to overflow horizontally instead, with no new lines or vertical growth.

Thanks!
Title: Re: Text overflow orientation
Post by: wapperdude on April 30, 2011, 04:55:59 AM
Open the shapesheet for the shape in question (menu bar > window > show shapesheet).  Then, you will probably have to add the Text Transform section (right click in the shapesheet window > Insert Section, select Text Transform).  Scroll down to that section and in the TxtWidth cell, enter something like MAX(TEXTWIDTH(TheText),8*Char.Size).

That should do it.  The Max function guarantees a minimum width of 8*Character size.  The Textwidth fcn forces the width to be whatever is entered.

For more on text controlling shape size, see http://msdn.microsoft.com/en-us/library/aa200988(v=office.10).aspx

Wapperdude
Title: Re: Text overflow orientation
Post by: Astromere on May 02, 2011, 08:53:21 PM
Awesome.  Thanks for the answer, and especially the link too!