getTemplate() is undefined with upgrading aspose.slides to 14.8.0

i have the code below:

DocumentProperties dp = (DocumentProperties) pres.getDocumentProperties();

addRootAttr(OFFICEPROP_TEMPLATE, DataTypeConverter.getString(dp.getTemplate()));


With upgrading aspose.slides from 8.2.0 to 14.8.0, the method getTemplate() is undefined for the type DocumentProperties.

should i replace it with something else?

Thank you


Hi Roula,


Thanks for inquiring Aspose.Slides.

I have observed the requirement shared by you and suggest you to please visit the attached image for possible get options from Document properties. You can use the one suiting your requirements to serve the purpose. I hope this will be helpful.

Many Thanks,