## protect(type) {#protectiontype} Protects the document from changes without changing the existing password or assigns a random password. ```js protect(type: Aspose.Words.ProtectionType) ``` | Par......making revisions, or completing a form. When you protect a document...making revisions, or completing a form. Note that document protection...