I am trying to determine which slides are hidden or not in a presentation. With the latest version I found out that the Hidden property is always false for PPT files.
var ppt = new Presentation("Slides.ppt");
var hiddenSlidePpt = ppt.Slides;
Trace.WriteLine("PPt hidden property: " + hiddenSlidePpt.Hidden);
var pptx = new Presentation("Slides.ppt");
var hiddenSlidePptx = pptx.Slides;
Trace.WriteLine("PPtx hidden property: " + hiddenSlidePptx.Hidden);
PPt hidden property: False
PPtx hidden property: True
Please find attached Slide.ppt and Slide.pptx the files used for my tests. The second slide of each of these files is hidden.
Thank you for sharing the sample files.
We are able to reproduce your mentioned issue after an initial test. Your issue has been registered in our issue tracking system with issue id: SLIDESNET-35397 . You will be notified via this forum thread once the issue gets resolved.
Thanks & Regards,
I am experiencing the same issue using version Aspose.Slides 220.127.116.11
Is there any update or resolution for this?
I have verified from our issue tracking system and regret to share that the issue is still unresolved. We will share the good news with you as soon as the issue will be resolved.
Perhaps this is unrelated, but I notice that when I instantiate a Presentation object from an existing .ppt format document, the Presentation.FileExtension property = “.pptx”. This happens even if I explicitly use Aspose.Slides.LoadFormat.Ppt
Thanks for sharing your feedback. I request you to please share the sample presentation and code sample used for your verification. I will investigate it further on my end to help you out.
Dim fi As New FileInfo(filename)
Dim loadopts As New Aspose.Slides.LoadOptions()
If fi.Extension.Equals(".ppt", StringComparison.OrdinalIgnoreCase) Then
loadopts.LoadFormat = Aspose.Slides.LoadFormat.Ppt
ElseIf fi.Extension.Equals(".pptx", StringComparison.OrdinalIgnoreCase) Then
loadopts.LoadFormat = Aspose.Slides.LoadFormat.Pptx
pres1 = New Presentation(filename, loadopts)
pres1.FileExtension is always “.pptx” when I open a .ppt source file
I have observed the sample code shared by you but unfortunately the requested source presentation creating issue on your end is still missing. However, I have tried loading a PPT on my end and then used the following sample code to get the source format. It gave me PPT for a PPT source format presentation.
Please try using the above property and if there is still an issue then please share a sample project and sample presentation reproducing the issue on your end so that I may help you further in this regard.
The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan