Free Support Forum - aspose.com

Slides are hidden on opening converted Libre Office PPT & PPTX

Slides are hidden on opening converted Libre Office PPT & PPTX.

Currently using below code-
public static void UpgradeDocument(string sourcePath, string destinationPath)
{
using (var pptDocument = new Presentation(sourcePath))
{
var sourceDirectory = Path.GetDirectoryName(destinationPath);
if (sourceDirectory != null)
{
Directory.CreateDirectory(sourceDirectory);
}
pptDocument.ViewProperties.LastView = SlidesViewType.SlideView;
pptDocument.Save(destinationPath, SaveFormat.Pptx);
}
}
Find attached input & output files.

Please suggest.InputOutputFiles.zip (305.8 KB)

@harsh1691,

I have worked with your presentation file using Aspose.Slides for .NET 18.2 on my end and have not been able to observe the issue. For your kind reference, I have attached the generated presentation as well. Can you please try using suggested version.

InputFile.zip (155.4 KB)