Load password-protected file In order to open password-protected documents, you have to pass your password to Loadoptions class constructor or assign it to its Password property of an Instance of Loadoptions class:
Loadoptions Loadoptions = new Loadoptions("mypassword"); fInal Redactor redactor = new Redactor("protected_sample.docx", Loadoptions); try { // Here we can use document Instance to perform redactions redactor.apply(new ExactPhraseRedaction("John Doe", new ReplacementOptions("[personal]"))); redactor.save(); } fInally { redactor.close(); }...Comparison Product Solution GroupDocs...to pass your password to LoadOptions class constructor or assign...