D
djpnewton
Hi,
I am automating PowerPoint and I want to use AddPolyLine to put a line
a specific place on the screen/slide.
For example say make a line with the points ((100, 100), (200, 200)) in
"pixels".
I was using "ActivePresentation.SlideMaster.Width / Screen.Width" as a
ratio to convert to "points" but now I realise that the slide is
actually offset down a bit on the y axis because it uses a different
aspect ratio to the screen.
So I need to find the slide x/y offset to put a ((100, 100), (200,
200)) line (in pixels) into powerpoint (converting into its points
units).
Can anyone help me?
Thanks
Daniel
I am automating PowerPoint and I want to use AddPolyLine to put a line
a specific place on the screen/slide.
For example say make a line with the points ((100, 100), (200, 200)) in
"pixels".
I was using "ActivePresentation.SlideMaster.Width / Screen.Width" as a
ratio to convert to "points" but now I realise that the slide is
actually offset down a bit on the y axis because it uses a different
aspect ratio to the screen.
So I need to find the slide x/y offset to put a ((100, 100), (200,
200)) line (in pixels) into powerpoint (converting into its points
units).
Can anyone help me?
Thanks
Daniel