BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

More Funny Behavior - 1D Width and Height

Started by Rich_Cohen, June 30, 2012, 09:11:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


I'm wondering if I have a damaged copy of Visio.  Can someone please confirm this:  Draw two boxes one above the other, but not lined up exactly.  Now add a default right angle connector from the bottom handle of the top box to the top handle of the bottom.  Open the shape sheet for the connector and observe its width value.  Now move one of the two boxes horizontally until the connector becomes a straight line.  One my computer the width gradually decreases until it becomes .25 inches.  It stays at that value until the boxes move out of alignment in the opposite direction.  They it jumps to -.25 and stays there until the actual width reaches that value and then it starts tracking again.  Does this happen for you?  I've spent about 3 hours trying to understand some strange behavior is a custom control I'm trying to build and I finally pinned it down the this "feature."

By the way the Microsoft library says the following about the width cell:

Contains the width of the selected shape in drawing units. The default formula for determining the width of a 1-D shape is:

= SQRT((EndX - BeginX) ^ 2 + (EndY - BeginY) ^ 2)


I don't believe the above is correct. <grin>  It looks like someone has confused width with distance.

Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 134 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1047KB.
Tokens: post-login.
Cache hits: 13: 0.00123s for 26,766 bytes (show)
Cache misses: 2: (show)
Queries used: 16.

[Show Queries]