|
Powerpoint automation through C#
I need to extract the alignment of the object from a powerpoint 2003 (.ppt) file programmatically through C#.
like I should be able to get a distance of the text in a powerpoint slide from the left edge of that slide.
Following statement gives me a distance of Text Box from the left edge of the slide (but it gives the distance of only text box and not the text)
"objApp.ActivePresentation.Slides[i].Shapes[j].Left"
Now a text within a text box of powerpoint slide will also be at some distance from left edge of "Text Box"
I need to calculate that distance so that I should get the total distance of text from the left edge of "Slide"
Please reply.
Thanks!!
|