Share via


Document.UpdateStylesOnOpen Property

Gets or sets a value that indicates whether the styles in the document are updated to match the styles in the attached template each time the document is opened.

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

Syntax

'Declaration
Property UpdateStylesOnOpen As Boolean
bool UpdateStylesOnOpen { get; set; }

Property Value

Type: System.Boolean
true if the styles in the document are updated; otherwise, false.

.NET Framework Security

See Also

Reference

Document Interface

Microsoft.Office.Tools.Word Namespace