Udostępnij za pośrednictwem


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

See Also

Reference

DocumentBase Class

Microsoft.Office.Tools.Word Namespace