Aspose::Words::Document::Protect method. Protects the Document from changes without changing the existing password or assigns a random password in C++.... auto doc = System :: MakeObject < Aspose...Words :: DocumentBuilder > ( doc ); builder -> Writeln ( u "Section...