Author Topic: Text overflow orientation  (Read 3931 times)

0 Members and 1 Guest are viewing this topic.

Astromere

  • Newbie
  • *
  • Posts: 3
Text overflow orientation
« on: April 29, 2011, 04: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!

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4596
  • Ideas Visio-lized into solutions
Re: Text overflow orientation
« Reply #1 on: April 29, 2011, 11:55:59 PM »
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

  • Newbie
  • *
  • Posts: 3
Re: Text overflow orientation
« Reply #2 on: May 02, 2011, 03:53:21 PM »
Awesome.  Thanks for the answer, and especially the link too!