View Single Post
Old 06-29-2009, 07:10 AM   #1 (permalink)
atulbhatia
Registered User
 
Join Date: Jun 2009
Posts: 2
OS: Windows 7


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!!
atulbhatia is offline   Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here