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.
Mon Jul 08, 2019 1:38 pm
After loading a presentation with FileFormat.AUTO, it is possible to know the format used to load the presentation itself ?
I would like to display if the presentation has been loaded as Pptx2007 or Pptx2010...
Kind regards,
Fabio
-
wallin
-
- Posts: 7
- Joined: Mon May 20, 2019 2:23 pm
Tue Jul 09, 2019 4:02 am
Hello Fabio,
Thanks for your post.
After loading a presentation with FileFormat.AUTO, sorry that our Spire.Presentation doesn’t support getting the format that used to load the presentation itself at present. We will consider adding it as a new feature into our upgrade list. Once there is any good news, we will let you know. Sorry for the inconvenience caused.
Sincerely,
Lisa
E-iceblue support team
-
Lisa.Li
-
- Posts: 1271
- Joined: Wed Apr 25, 2018 3:20 am
Fri Jul 19, 2019 5:41 am
Hello,
Glad to inform you that we just released
Spire.Presentation Pack Hotfix Version:4.7.5 which added FormatAndVersion to get the file format after loading. Welcome to download and test it like the following code snippet.
- Code: Select all
Presentation ppt = new Presentation();
ppt.LoadFromFile(filePath, Spire.Presentation.FileFormat.Auto);
FormatAndVersion formatVersion = ppt.FormatAndVersion;
Sincerely,
Lisa
E-icbelue support team
-
Lisa.Li
-
- Posts: 1271
- Joined: Wed Apr 25, 2018 3:20 am
Tue Jul 23, 2019 6:42 am
Hello,
Greetings from E-iceblue.
Did the hotfix version work for you? Thanks in advance for your feedback and time.
Sincerely,
Lisa
E-iceblue support team
-
Lisa.Li
-
- Posts: 1271
- Joined: Wed Apr 25, 2018 3:20 am