where presentation is PresentationEx object and is the destination presentation, tempPresentation is PresentationEx object and is the source presentation. But for both the options I get the error as
The node to be removed is not a child of this node
You are using a fairly old version of product. Please use the latest available version of Aspose.Slides for .NET 5.7.0. Please visit this documentation link for more information about slide cloning. Please share, if I may help you further in this regard.
1.I am getting the sample cloning as in the Aspose web site done with slide in destination being removed. This was done with same 4.0.1.0 Even that is not happening in my application even though the code seems to be correct. For reference I have added the code snippet in previous thread.
Please look on it and tell me for correct changes in code.
2. Also I tried using trial version dll of 5.7.0 with license of 4.0.1.0. Buth I get some error as "Updates not allowed...." Please tell me how to proceed with 5.7 usage.
I have created a sample project using Aspose.Slides for .NET 5.7.0 that clones slides from one presentation to another using both methods mentioned by you with no error. Please use this for your kind reference. Secondly, if you are unable to use Aspose.Slides for .NET 5.7.0 then you may please upgrade your subscription. Please visit this link for renewal of subscription.