Menu

Apply Protection with Properties Access

Shoaib

Aspose.Slides

//Instantiate a Presentation object that represents a PPT file
Presentation pres = new Presentation();

//Setting access to document properties in password protected mode
pres.getProtectionManager().setEncryptDocumentProperties ( false);

//Setting Password
pres.getProtectionManager().encrypt("pass");

Download Source Code


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.