That was helpful. As I've said, I need to create a powerpoint on the fly (dynamic). I don't have a reference to an existing power point like
Presentation Pres =
new Presentation("D:\\ppt\\asd.ppt");
So, when i create a new presentation and add a BodySlide, how can I use it?
Presentation pres = new Presentation();
Slide slide = pres.AddBodySlide();
Now the reference to this slide has no paragraphs. So, I'm unable to add any text to which is what I need.
Alternatively, I created a empty slide and added rectangles to it. So, that its forming a header and body placeholder. Now the body placeholder is a big rectangle. Depending on the length of the text content inserted, it is aligning to the middle of the slide.
Could you please let me know if there is a way to create all this without using a existing powerpoint reference??
thanks
Sarath