DocumentEditProtectionStartEnforcingProtection Method |
Starts enforcing protection by restricting document editing actions
to those specified by editingRestriction parameter with optional password
which must be specified to stop protection in consumer application such as MS Word.
Namespace: SautinSoft.DocumentAssembly: SautinSoft.Document (in SautinSoft.Document.dll) Version: 2024.7.18
Syntax public void StartEnforcingProtection(
EditingRestrictionType editingRestriction,
string password
)
Public Sub StartEnforcingProtection (
editingRestriction As EditingRestrictionType,
password As String
)
Parameters
- editingRestriction EditingRestrictionType
-
The editing restriction enforced upon the document in consumer application.
- password String
- The optional password which must be specified to stop protection.
See Also