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.

Tue Jun 18, 2024 5:08 am

Hi, I am Sungwon.
While using the function of Spire Presentation, we want to stop the ongoing process when the running time takes too long.
(e.g. Save PPT -> PDF)

sample code :
ppt.saveToFile(outputfd + doc_name + ".pdf", com.spire.presentation.FileFormat.PDF);

When the above method is in progress, how can I stop it in the middle?

Thanks

SungwonShin
 
Posts: 12
Joined: Thu Dec 28, 2023 2:24 am

Tue Jun 18, 2024 8:25 am

Hello,

Thanks for your inquiry.
Kindly note that the conversion time of a document is related to the file size or structure. We will not stop a normal conversion process. For your case, please provide us with your test file and test code, and we will further investigate whether there is a solution to optimize conversion efficiency. You can upload them to the attachment here or send them to this email: support@e-iceblue.com. Thanks in advance.

Sincerely,
William
E-iceblue support team
User avatar

William.Zhang
 
Posts: 454
Joined: Mon Dec 27, 2021 2:23 am

Return to Spire.Presentation