_Document.CopyStylesFromTemplate(String) _Document.CopyStylesFromTemplate(String) _Document.CopyStylesFromTemplate(String) Method

Definition

Copies styles from the specified template to a document.

public:
 void CopyStylesFromTemplate(System::String ^ Template);
public void CopyStylesFromTemplate (string Template);
Public Sub CopyStylesFromTemplate (Template As String)

Parameters

Template
String String String

Required String. The template file name.

Remarks

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.

Applies to