Text overflow orientation

Started by Astromere, April 29, 2011, 09:01:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Astromere

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!

wapperdude

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
Visio 2019 Pro

Astromere

Awesome.  Thanks for the answer, and especially the link too!