Hello,
Thanks for your inquiry.
I simulated a PPT file and did an initial test with the following code, but I can get the title text from master slide. You can see whether my code is different from your own.
If there are still any issues, to help us investigate further, please provide us with your input file, you can upload it here or send it to us (
support@e-iceblue.com) via email. Thanks in advance.
- Code: Select all
Presentation ppt = new Presentation();
ppt.LoadFromFile("test.pptx");
string text=null;
foreach (IMasterSlide slide in ppt.Masters)
{
text = (slide.Shapes[0] as IAutoShape).TextFrame.Paragraphs[0].Text;
}
Sincerely,
Brian
E-iceblue support team