Free Support Forum -

PPT vs PDF rendering

Hi Guys

WHen I clone and output the attached file to PPT the slide renders fine; when I write to PDF I get a green block.

This is the code I'm using :

string readPath = "C:\\source\\Lifestyle OEIC CN_5.ppt";
string pptWritePath = "C:\\source\\Lifestyleoutput.ppt";
string pdfWritePath = "C:\\source\\Lifestyleoutput.pdf";

using (FileStream stream = new FileStream(readPath, FileMode.Open, FileAccess.Read))
preDefined = new Aspose.Slides.Presentation(stream);

if (preDefined != null)
newOne.SlideSize = new System.Drawing.Size(preDefined.SlideSize.Width, preDefined.SlideSize.Height);

for (int j = 0; j < preDefined.Slides.LastSlidePosition; j++)
preDefined.CloneSlide(preDefined.Slides[j], 0, newOne, new System.Collections.SortedList());

if (newOne.Slides.LastSlidePosition > 1)
{ newOne.Slides.RemoveAt(0); }



Any thoughts ?


There was a problem in the master slide of ppt provided by you. Please, use the attached presentation instead to get the desired results.

Thanks for reply, unfortunatly I need to apply the change you made to the errounous master slide to some similar slides which I think are rendering incorrectly for the same reason. Could you tell me how you fixed the master slide so I can apply the change ?

Thanks so much


Hi Guyan,

In the current scenario, just set the fill color of the title place holder to null.