...
Description |
---|
Excerpt |
---|
This class is used to get and set document protection settings for a document. |
Signature | ||||
---|---|---|---|---|
| ||||
<p> public sealed class DocumentProtection {signature}{signature:DocumentProtection</p> |
Signature | ||||||
---|---|---|---|---|---|---|
| }
Public
| |||||
<p>Public NotInheritable Class DocumentProtection {signature} {remarks}You cannot create a [DocumentProtection|DocumentProtection] object using the {{new}} keyword. You must get an existing {{DocumentProtection}} object from a [Document|Document]. MS Word equivalent: Tools menu > Protect Document... The following sample gets the {{DocumentProtection}} object of a document so you can start working with these properties. {remarks} {example}{code:csharp|title=C#}DocumentProtection</p> |
Remarks |
---|
You cannot create a DocumentProtection object using the MS Word equivalent: Tools menu > Protect Document... The following sample gets the |
Example | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Properties |
---|
Name | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
| |||||||||
| |||||||||
| |||||||||
| |||||||||
|
Classes |
---|
Name | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
|