Aspose::Words::Settings::WriteProtection::ValidatePassword method. Returns true if the specified password is the same as the write-protection password the document was protected with. If document is not write-protected with password then returns false in C++....builder -> Writeln ( u "Writing text in a protected document." );...protected." ) + u " \r Writing text in a protected document." ,...