Tuesday, 25 July 2017

Microsoft Visio Advanced Tips - How to Re-size Fonts with Shape

The easiest way to do this is to create a relationship between the current height of the shape and the original height of the shape, and multiply that by the original font size. The formula can live in the Char.Size cell and might look something like this:
Char.Size = 12pt * Height / 0.75 in

Here, 12pt is the original font size, and 0.75 in is the original height of the shape. The expression will increase or decrease with the current Height of the shape, and the font size will correspondingly grow or shrink. You might want your text to react with the Width of the shape, or some combination of Height and Width.

No comments:

Post a Comment