Spire.Presentation is a professional PowerPoint® compatible library that enables developers to create, read, write, modify, convert and Print PowerPoint documents from any .NET(C#, VB.NET, ASP.NET, .NET Core) application and Java (J2SE and J2EE) application.

Tue Jul 02, 2019 7:40 am

Hi,

it seems that the property SlideShowTransition.AdvanceAfterTime is not read (attached the test file) .

If the file is saved to pptx format, the property is read correctly.

Can you help me?

Kind regards,

Fabio
You do not have the required permissions to view the files attached to this post.

wallin
 
Posts: 7
Joined: Mon May 20, 2019 2:23 pm

Tue Jul 02, 2019 8:37 am

Hello,

Thank you for contacting.
Sorry I am a little confused about the description “ ..not read", do you mean that you need to get the AdvanceAfterTime like the following code snippet? If so, It could work well when testing the latest Spire.Presentation Pack Hotfix Version:4.6.5. If I misunderstood your meaning, please provide your testing code as well as the details about your problem, then we will look into it and guide you accordingly. Thanks in advance.
Code: Select all
 Presentation ppt = new Presentation();
 ppt.LoadFromFile(@"test_file.ppt");
 ISlide slide = ppt.Slides[0];
 uint time= slide.SlideShowTransition.AdvanceAfterTime;

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 979
Joined: Wed Apr 25, 2018 3:20 am

Wed Jul 03, 2019 7:57 am

Hello Lisa,

“ ..not read" means that the value of AdvanceAfterTime is always 0.

I have already test it using the 4.6.5 version.

Saving the file in PPTX format the AdvanceAfterTime is imported correclty.

Code: Select all
Presentation presentation = new Presentation();
presentation.LoadFromFile(....);

//traverse the slides of PPT files
for (int i = 0; i < presentation.Slides.Count; i++)
{
   var slide = presentation.Slides[i];
   Console.WriteLine(slide.SlideShowTransition.AdvanceAfterTime);
}


Cheers,

Fabio

wallin
 
Posts: 7
Joined: Mon May 20, 2019 2:23 pm

Wed Jul 03, 2019 9:49 am

Hello Fabio,

Thanks for your more details.
Yes, when testing your file (test_file.ppt) and the file ( like attached SpirePptx.pptx) that I saved original file in PPTX format by our Spire.Presentation, the value of AdvanceAfterTime is 0. However, when re-saving original file in PPTX format by MS PowerPoint, I got the value "4000". This issue has been submitted to our Dev team for further investigating and fixing. Once there is any progress, we will let you know, sorry for the inconvenience caused.

Sincerely,
Lisa
E-iceblue support team
You do not have the required permissions to view the files attached to this post.
User avatar

Lisa.Li
 
Posts: 979
Joined: Wed Apr 25, 2018 3:20 am

Thu Jul 18, 2019 10:14 am

Hello,

Glad to inform you that the reported issue has been fixed in Spire.Presentation Pack Hotfix Version:4.7.5. Welcome to download and test it.

Sincerely,
Lisa
E-icbelue support team
User avatar

Lisa.Li
 
Posts: 979
Joined: Wed Apr 25, 2018 3:20 am

Tue Jul 23, 2019 6:43 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
User avatar

Lisa.Li
 
Posts: 979
Joined: Wed Apr 25, 2018 3:20 am

Mon Jul 29, 2019 7:13 am

Yes it works fine.

Many thanks!

wallin
 
Posts: 7
Joined: Mon May 20, 2019 2:23 pm

Mon Jul 29, 2019 7:32 am

Hello,

Glad to hear that! If you have other questions, please do not hesitate to contact us.
Wish you all the best!

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 979
Joined: Wed Apr 25, 2018 3:20 am

Return to Spire.Presentation