Spire.Presentation is a professional PowerPoint® compatible library that enables developers to create, read, write, modify, convert and Print PowerPoint documents. Get free and professional technical support for Spire.Presentation for .NET, Java, Android, C++, Python.

Wed Mar 14, 2018 5:22 am

I'm getting error "The node to be removed is not a child of this node."
Why is that so?

I use pptx 2016 to create the template.

This is my code
Presentation presentation = new Presentation();
presentation.LoadFromFile(templatePath);

Presentation presentation2 = new Presentation();
ISlide slide = presentation.Slides[0];
ReplaceTags(slide, "{{ReportName}}", ReportName);
presentation2.Slides.Insert(1, slide); <--- Exception happen here, if page contains a table

Please advise

one4all.t
 
Posts: 1
Joined: Tue Mar 13, 2018 3:49 am

Wed Mar 14, 2018 6:31 am

Hello,

Thanks for your post. After an initial test, I was unable to reproduce the issue. If you are using an older version, please update to the latest one(Spire.Presentation Pack Hotfix Version:3.3.0) and try again. If the issue still bothers you after trying, please share us your template file and full code.

Best regards,
Simon
E-iceblue support team
User avatar

Simon.yang
 
Posts: 620
Joined: Wed Jan 11, 2017 2:03 am

Mon Mar 19, 2018 6:44 am

Hello,

How is the issue going?
Please give us some feedback at your convenience.

Best regards,
Simon
E-icelbue support team
User avatar

Simon.yang
 
Posts: 620
Joined: Wed Jan 11, 2017 2:03 am

Return to Spire.Presentation

cron