Document.UpdateStylesOnOpen Property (2007 System)

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.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)

Syntax

'Declaration
Public Property UpdateStylesOnOpen As Boolean
'Usage
Dim instance As Document 
Dim value As Boolean 

value = instance.UpdateStylesOnOpen

instance.UpdateStylesOnOpen = value
public bool UpdateStylesOnOpen { get; set; }
public:
property bool UpdateStylesOnOpen {
    bool get ();
    void set (bool value);
}
public function get UpdateStylesOnOpen () : boolean 
public function set UpdateStylesOnOpen (value : boolean)

Property Value

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

.NET Framework Security

See Also

Reference

Document Class

Document Members

Microsoft.Office.Tools.Word Namespace