Aspose.Slides - Apply Protection with Properties Access

//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

For More Examples, Please Visit Aspose Docs

Last edited Oct 14, 2014 at 7:23 PM by shoaibkhan, version 1