Share via


DocumentClass.EnforceStyle Property

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Public Overridable Property EnforceStyle As Boolean
    Get
    Set
'Usage
Dim instance As DocumentClass
Dim value As Boolean

value = instance.EnforceStyle

instance.EnforceStyle = value
public virtual bool EnforceStyle { get; set; }

Property Value

Type: System.Boolean

Implements

_Document.EnforceStyle

See Also

Reference

DocumentClass Class

DocumentClass Members

Microsoft.Office.Interop.Word Namespace