DocumentProtect Method

Protects the document from changes.
Overload List
  NameDescription
Public methodCode exampleProtect(ProtectionType)
Protects the document from changes without changing the existing password or assigns a random password.
Public methodCode exampleProtect(ProtectionType, String)
Protects the document from changes and optionally sets a protection password.
See Also