We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Hidden slides are changed to visible

Hi
It seems that hidden slides are not being properly handled in the new version of Aspose.Slides. These slides become visible slides. Is this a known issue? I found a similar bug SLIDESNET-35232 about this issue. My presentation is attached.


Thanks,

Oren.

Hi Oren,

Please share some more details regarding the issue you are facing. It would be better to share the sample code with us to get a better idea of your issue.

Thanks & Regards,

Hi Oren,

I have worked with your presentation file by using the following sample code on my end. I have not been able to observe any hidden slide converted to visible in cloned presentation. For your convenience, I have also attached the generated presentation as well. Please try using Aspose.Slides for NET 14.7.0 on your end to serve the purpose.

public static void TestClone()
{
String path = “D:\Aspose Data\”;
Presentation pres = new Presentation(path + “trial_no+internal+hyperlink.pptx”);

Presentation newPres = new Presentation();

ISlideCollection slides = newPres.Slides;
for (int i = 0; i < pres.Slides.Count; i++)
{
slides.AddClone(pres.Slides[i]);

}

newPres.Save(path + “trial_no+internal+hyperlink2.pptx”, SaveFormat.Pptx);
}


Many Thanks,