Creating a shape with a fixed line

J

Jim Ronholm

I would like to create a shape with a line that doesn't move. If you are
familiar with Ganes and Sarson DFD symbols - I want a process with a line
below the process number, that would remain above the text. I can make the
shape easily, but when I scale the shape it moves the line. I thought
protection might do this for me, but so far I haven't hit the right
combination.

For those not familiar with Ganes & Sarson I'll try to describe the shape a
little more:

A simple rounded corner rectangle.
It has a horizontal line below the first line of text (the text is top and
left aligned).

roughly

|~~~~~~~~~|
|0 |
|~~~~~~~~~| <-- this is the line I don't want to move
|Process |
|Desc. |
| |
|other |
|text |
|_________|


Thanx,

Jim
 
C

Chris Roth [MVP]

Have a look at the Character row, Size cell for font size.

If you have multiple formatting on the shape text (ie some chars bold, some
italic, etc) then you will have multiple Character rows in this section and
hence, multiple Size cells. Char.Size, Char.Size[2], etc.

--
Hope this helps,

Chris Roth
Visio MVP

More Visio shapes, articles, development info and pure diagramming fun at:
www.visguy.com
 
J

Jim

Done - and works great. I had seen this property (after reading your first
answer) but for some reason I believed that the measurement (given in pt)
would be for the width of the character and never even tried it.

Jim (thru the web interface)

Chris Roth said:
Have a look at the Character row, Size cell for font size.

If you have multiple formatting on the shape text (ie some chars bold, some
italic, etc) then you will have multiple Character rows in this section and
hence, multiple Size cells. Char.Size, Char.Size[2], etc.

--
Hope this helps,

Chris Roth
Visio MVP

More Visio shapes, articles, development info and pure diagramming fun at:
www.visguy.com


Jim Ronholm said:
Excellent. I worked through your example and I'm sure I can apply it to my
situation. It will be even better if I can tie in the size (the custom
property) to the height of the font. (I've never worked with the shape
sheet before - I can see it is very powerful.) This probably answers the
other question I posted yesterday as well.

Thanks for your help,

Jim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top