Print the slide to A3, mark a known length along the two lines, and use
trigonometry.
--
Regards,
Glen Millar
Microsoft PPT MVP
http://www.powerpointworkbench.com/
Please tell us your ppt version, and get back to us here
"j jones" <jkj...@hotmail.com> wrote in message
news:048b01c32e46$950c3720$a301...@phx.gbl...
HTH,
Craig
"j jones" <jkj...@hotmail.com> wrote in message
news:048b01c32e46$950c3720$a301...@phx.gbl...
If m1 and m2 are the respective slopes of two lines such that m1*m2<>-1 then
the acute angle ? between them will be..
tan ? =|(m1-m2)/(1+m1*m2)|
How do you arrive at this via vba:
You need to determine the endpoints of the lines. Now, though PowerPoint
requires coordinates when you draw the line it does not return the vertices
of the line drawn. It is a lengthy process. First using the
Left,Top,Width.Height properties of the shape you need to arrive at the
bounding region of the line. Then read the Flip property states to arrive at
the coordinates of the end points, determine the direction of the line using
the code here: http://www.mvps.org/skp/ppt00038.htm, this will give you the
end point coordinates. The rest is pretty straight forward. If you need and
further help let us know.
--
Regards
Shyam Pillai
Shyam's Toolbox for PowerPoint
http://www.mvps.org/skp/toolbox
"j jones" <jkj...@hotmail.com> wrote in message
news:048b01c32e46$950c3720$a301...@phx.gbl...
If m1 and m2 are the respective slopes of two lines such that m1*m2<>-1 then
the acute angle ? between them will be..
tan ? =|(m1-m2)/(1+m1*m2)|
How do you arrive at this via vba:
You need to determine the endpoints of the lines. Now, though PowerPoint
requires coordinates when you draw the line it does not return the vertices
of the line drawn. It is a lengthy process. First using the
Left,Top,Width.Height properties of the shape you need to arrive at the
bounding region of the line. Then read the Flip property states to arrive at
the coordinates of the end points, determine the direction of the line using
the code here: http://www.mvps.org/skp/ppt00038.htm, this will give you the
end point coordinates. The rest is pretty straight forward. If you need and
further help let us know.
--
Regards
Shyam Pillai
Toolbox for PowerPoint
http://www.mvps.org/skp/toolbox
"j jones" <jkj...@hotmail.com> wrote in message
news:048b01c32e46$950c3720$a301...@phx.gbl...
B
"Glen Millar" <mil...@DROPSPAM.tpg.com.au> wrote in message
news:udwltalL...@TK2MSFTNGP11.phx.gbl...
"B" <vest...@yahoo.com> wrote in message
news:#ncsAeqL...@tk2msftngp13.phx.gbl...
"Steve Rindsberg" <ab...@localhost.com> wrote in message
news:%23EpzWUs...@tk2msftngp13.phx.gbl...
Half or more of it's wrong, useless or just silly, but you do learn, gotta
give credit where it's due.
"B" <vest...@yahoo.com> wrote in message
news:uxHHqdsL...@TK2MSFTNGP12.phx.gbl...
Draw a long and short rectangle (horizontal).
Copy it to make a duplicate.
Rotate (c'wise) the first rectangle to be parallel with the first line.
(First line starting from 0° and moving c'wise.)
Rotate (c'wise) the second rectangle to be parallel with the other line.
Double click the second rectangle and in the Size tab, note the rotation
amount.
Double click the first rectangle and in the Size tab, note the rotation
amount.
Subtract the rotation amount of rectangle 1 from rectangle 2.
That should equal the angle of the intersection.
--
-Robert Lerner
"j jones" <jkj...@hotmail.com> wrote in message
news:048b01c32e46$950c3720$a301...@phx.gbl...
Then use the monitor's horizontal and vertical size buttons and you can
change the angle to anything you want. (Except of course right angles drawn
between a vertical and horizontal line)
In other words, the angle you display is a function of the display device.
All the geometry in the world will not help you display an angle accurately
unless you are on a fixed and calibrated monitor. In which case stick a
protractor onto the screen and do it that way!
Martin Conradi
www.showcase-online.co.uk
"Robert Lerner" <RobertLe...@yahoo.comREMOVETHIS> wrote in message
news:OEVzCaJM...@tk2msftngp13.phx.gbl...
;-)
--
-Robert Lerner
"Martin Conradi" <show...@showcase.xyz> wrote in message
news:bc9fc9$adi$1$8300...@news.demon.co.uk...
ROFLMHO!
Interesting responses, though. I'm off to bed.
--
Regards,
Glen Millar
Microsoft PPT MVP
http://www.powerpointworkbench.com/
Please tell us your ppt version, and get back to us here
Remove spaces from signature
"Robert Lerner" <RobertLe...@yahoo.comREMOVETHIS> wrote in message
news:O1ybnzNM...@TK2MSFTNGP10.phx.gbl...
--
Steve Rindsberg PPT MVP
PPTLive ( http://www.pptlive.com ) Featured Speaker
CorelWorld ( http://www.corelworld.com ) Featured Speaker
PPTools: http://www.pptools.com
PPT FAQ: http://www.pptfaq.com
"Glen Millar" <glen @ powerpointworkbench.com> wrote in message
news:OiXA95NM...@TK2MSFTNGP11.phx.gbl...
;-)
--
-Robert Lerner
"Glen Millar" <glen @ powerpointworkbench.com> wrote in message
news:OiXA95NM...@TK2MSFTNGP11.phx.gbl...