Hi John,
Thanks for your interest in Aspose.Slides.
I have observed the requirement shared by you and it seems that probably Aspose.Slides jar file is not been able to properly accessed in your application. Can you please try using only the following statements in a sample console java application with any sample presentation and share your feedback.
Presentation pres=new Presentation(“Test.pptx”);
pres.save(“test.pdf”,SaveFormat.Pdf);
If the above statements are executed successfully then try loading the License as well in the same sample console application. If there is still an issue then please share the complete details of your environment, sample application, java and operating system details with us.
Many Thanks,
Hey Mudassir,
I’m able to run the sample console application of converting a pptx to pdf without any issue. Only when I try to set the license, I get the compilation issue.
I’m using Aspose.Slides v14.7.0
jdk1.7.0_55
Eclipse Juno
Windows 7 Professional
Thanks
Hi John,
Thanks for your feedback. Can you please try using the following sample code on your end with your license. If there is still an issue then please share the license file with us for further investigation on our end.
String path=“D:\Aspose Data\”;
com.aspose.slides.License lic=new License();
lic.setLicense(path+“Licenses\Aspose.Slides.lic”);
Presentation pres=new Presentation(path+“Title2007.pptx”);
pres.save(path+“Title2007.pptx.pdf”, SaveFormat.Pdf);
Many Thanks,
Hi John,
That is really appreciable that things have been sorted on your end. Please share, if I may help you further in this regard.
Many Thanks,