Click or drag to resize

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.Document
Assembly:  SautinSoft.Document (in SautinSoft.Document.dll) Version: 4.5.6.17
Syntax
public void StartEnforcingProtection(
	EditingRestrictionType editingRestriction,
	string password
)

Parameters

editingRestriction
Type: SautinSoft.DocumentEditingRestrictionType
The editing restriction enforced upon the document in consumer application.
password
Type: SystemString
The optional password which must be specified to stop protection.
See Also