The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Document.Protect Method

Name Description
Protect(String)

Protects a document with a given password.

Protect(String, DocumentProtectionType)

Enforces document protection and sets the specified password.