Document.UpdateStyles Method (2007 System)
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.Tools.Word
Assembly: Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
Syntax
'Declaration
Public Sub UpdateStyles
'Usage
Dim instance As Document
instance.UpdateStyles()
public void UpdateStyles()
public:
void UpdateStyles()
public function UpdateStyles()
.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.