I am having problems reading the text of a TextFrame Shape. I am able to read the AlternateText property and so I am sure this is the right Shape. Everything else is working with my code except where I access frame.Text
FileStream fis = new FileStream(Server.MapPath(“test.ppt”), FileMode.Open, FileAccess.Read);
Presentation storyboard = new Presentation(fis);
Slides slides = storyboard.Slides;
//the first shape in test.ppt
TextFrame frame = slides.Shapes as TextFrame;
root.ChildNodes.InnerText = frame.Text;
frame.AlternateText returns the alternate text that I set, but frame.Text is not returning anything. In test.ppt the my first shape contains some sample text.
Can you tell me what I am doing wrong? Thanks.