GroupDocs.Parser provides the functionality to open the password-protected documents.
The following are the steps to work with password protected documents.
Instantiate the LoadOptions object; Set password in LoadOptions(String) constructor; Create Parser object and call any method. The following code sample shows how to process password protected documents.
try { String password = "123456"; // Create an instance of Parser class with the password: try (Parser parser = new Parser(Constants.SamplePassword, new LoadOptions(password))) { // Check if text extraction is supported if (!... Was this page helpful? Not really Yes, thanks...tell us how we can improve this page. Skip Send Thank you for your...