_Document.UpdateStylesOnOpen Property

Determines if the styles in the specified document are updated to match the styles in the attached template each time the document is opened.

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

Syntax

'Declaration
Property UpdateStylesOnOpen As Boolean
    Get
    Set
'Usage
Dim instance As _Document
Dim value As Boolean

value = instance.UpdateStylesOnOpen

instance.UpdateStylesOnOpen = value
bool UpdateStylesOnOpen { get; set; }

Property Value

Type: System.Boolean

Remarks

This property returns True if the styles in the specified document are updated, and False if they are not. Set the property value to True or False to enable or disable the functionality.

See Also

Reference

_Document Interface

_Document Members

Microsoft.Office.Interop.Word Namespace