編輯

共用方式為


_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);
abstract member CopyStylesFromTemplate : string -> unit
Public Sub CopyStylesFromTemplate (Template As String)

Parameters

Template
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