Free Support Forum -

How to set custom properties using java

I can access the custom properties for a ppt document.

how to set custom properties for ppt document using java

Dear Kiran,

Thank you for considering Aspose.Slides for Java.

I am afraid, there is no such API that can be used to set custom document properties. You can only read them.

For reading, you can use instance of DocumentProperties class, which you can get using Presentation.getCustomDocumentProperties() method

so is that method only working in the .Net version of Aspose.Slide? the documentation ( states there is a method setCustomDocumentProperties?

Dear sabraha5,

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for considering Aspose.Slides for JAVA.

The documentation is not correct; you cannot set/add the custom document properties by Aspose.Slides for .NET/JAVA.