Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

_Document.CopyStylesFromTemplate Method

Copies styles from the specified template to a document.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
void CopyStylesFromTemplate(
	string Template
)

Parameters

Template
Type: System.String
Required String. The template file name.

When styles are copied from a template to a document, like-named styles in the document are redefined to match the style descriptions in the template. Unique styles from the template are copied to the document. Unique styles in the document remain intact.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.