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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.