Document.CopyStylesFromTemplate(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.