_Document.EnforceStyle Property
Returns or sets a Boolean that represents whether formatting restrictions are enforced in a protected document.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property EnforceStyle As Boolean
Get
Set
'Usage
Dim instance As _Document
Dim value As Boolean
value = instance.EnforceStyle
instance.EnforceStyle = value
bool EnforceStyle { get; set; }
Property Value
Type: System.Boolean