DocumentBase.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.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
Syntax
'Declaration
Public Property UpdateStylesOnOpen As Boolean
Get
Set
public 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.