Message-ID: <1888359149.8823.1711663463074.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_8822_554009042.1711663463059" ------=_Part_8822_554009042.1711663463059 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html WordTemplate.Open(String)

WordTemplate.Open(String)

Description

= =20

Opens the WordWriter template specified by the templateFileName parameter.

=20
C#
=20
 public void Open(System.String templateFileName)
=20
=20
vb.net
=20
Public Sub Open(ByVal templateFileName As String)
=20
=20

Parameters

=20
templateFileName
= The complete path and file name of the template Word file.=20

Exceptions

=20
ArgumentNullExce= ption
=20
FileNotFoundExce= ption
=20

Remarks

A WordWriter temp= late is a file created in Microsoft Word that contains merge fields. WordWr= iter supports Microsoft Word 97, 2000, 2002 (XP), 2003, and 2007. Do not us= e=20 Open to ope= n files created in earlier versions of Microsoft Word.=20

Examples

=20
C#
=20
oWW.Open(@"c:\templates\StringTemplate.doc"); 
=20
=20
vb.net
=20
oWW.Open("c:\templates\StringTemplate.doc")
=20
------=_Part_8822_554009042.1711663463059--