A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Powerpoint, Publisher and Visio » Visio
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How to keep 1D shapes aspect ration



 
 
Thread Tools Display Modes
  #1  
Old June 23rd, 2008, 10:42 PM posted to microsoft.public.visio.general
אהוד
external usenet poster
 
Posts: 1
Default How to keep 1D shapes aspect ration

After converting 2D shape to 1D shape the aspect ration protection stops
functioning.
I downloaded some staencils that have picture as 1D shape that this function
remains.
Any body know how to make it happend.
  #2  
Old June 23rd, 2008, 11:50 PM posted to microsoft.public.visio.general
Paul Herber
external usenet poster
 
Posts: 1,732
Default How to keep 1D shapes aspect ration

On Mon, 23 Jun 2008 14:42:01 -0700, ????
wrote:

After converting 2D shape to 1D shape the aspect ration protection stops
functioning.
I downloaded some staencils that have picture as 1D shape that this function
remains.
Any body know how to make it happend.


How can a 1D shape have an aspect ratio, it only exists in one
dimension.


--
Regards, Paul Herber, Sandrila Ltd.
Electronics for Visio http://www.electronics.sandrila.co.uk/
  #3  
Old June 24th, 2008, 01:52 AM posted to microsoft.public.visio.general
WapperDude
external usenet poster
 
Posts: 589
Default How to keep 1D shapes aspect ration

You have to force the aspect ratio. First, determine what it should be:
height/width. Then, open the shapesheet. In the Shape Transform section,
set the value cell for height to be Width*aspect ratio, where aspect ratio is
the number you established above. This slaves the height to be a function of
the Width.

That should do it.

(Technically, 1-D shapes don't have aspect ratios, but, technically, your
shape isn't really 1-D, just behaves that way.)

Hope this helps.
Wapperdude



"אהוד" wrote:

After converting 2D shape to 1D shape the aspect ration protection stops
functioning.
I downloaded some staencils that have picture as 1D shape that this function
remains.
Any body know how to make it happend.

  #4  
Old June 24th, 2008, 12:56 PM posted to microsoft.public.visio.general
AlEdlund
external usenet poster
 
Posts: 468
Default How to keep 1D shapes aspect ration

I just took a look to see how Altima keeps there shapes in the correct
aspect ratio. It's pretty much the same technique that WrapperDude was
discussing. In there case they have a 'scratch' section in the shapesheet
with the original height and width saved in the X and Y columns. They then
put formulas into the width and height cells of the Shape Transform section
to keep the correct aspect ratio.
Width=SQRT((EndX-BeginX)^2+(EndY-BeginY)^2)
Height=GUARD(Width*Scratch.Y1/Scratch.X1)
al


"WapperDude" wrote in message
...
You have to force the aspect ratio. First, determine what it should be:
height/width. Then, open the shapesheet. In the Shape Transform section,
set the value cell for height to be Width*aspect ratio, where aspect ratio
is
the number you established above. This slaves the height to be a function
of
the Width.

That should do it.

(Technically, 1-D shapes don't have aspect ratios, but, technically, your
shape isn't really 1-D, just behaves that way.)

Hope this helps.
Wapperdude



"אהוד" wrote:

After converting 2D shape to 1D shape the aspect ration protection stops
functioning.
I downloaded some staencils that have picture as 1D shape that this
function
remains.
Any body know how to make it happend.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:29 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 OfficeFrustration.
The comments are property of their posters.