Partager via


_Document.UpdateStyles Method

Copies all styles from the attached template into the document, overwriting any existing styles in the document that have the same name.

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

Syntax

'Declaration
Sub UpdateStyles
'Usage
Dim instance As _Document

instance.UpdateStyles()
void UpdateStyles()

See Also

Reference

_Document Interface

_Document Members

Microsoft.Office.Interop.Word Namespace