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.
Wed Feb 14, 2024 2:22 pm
I used a ppt containing 24 slides and after conversion i received pdf of 10 pages.
Code snippet which i am using to convert ppt to pdf:
using var client = new WebClient();
var stream = new MemoryStream(client.DownloadData(fileUrl));
Presentation ppt = new Presentation();
ppt.LoadFromStream(stream, Spire.Presentation.FileFormat.PPT);
using MemoryStream pdfStream = new MemoryStream();
ppt.SaveToFile(pdfStream, Spire.Presentation.FileFormat.PDF);
ppt.Dispose();
-
DonikaJetwani
-
- Posts: 1
- Joined: Wed Feb 14, 2024 2:14 pm
Thu Feb 15, 2024 6:00 am
Hello,
Thanks for your inquiry.
Kindly note that the commercial version has a 10-page limit when converting documents. To avoid this issue, you can apply for a temporary license(one month free) via this link:
https://www.e-iceblue.com/TemLicense.html.
If you have any other questions, please feel free to write back.
Sincerely,
William
E-iceblue support team
-
William.Zhang
-
- Posts: 454
- Joined: Mon Dec 27, 2021 2:23 am