Description
Opens the WordWriter template specified by the templateFileName parameter.
C#
public void Open(System.String templateFileName)
vb.net
Public Sub Open(ByVal templateFileName As String)
Parameters
templateFileName
The complete path and file name of the template Word file.Exceptions
ArgumentNullException
FileNotFoundException
Remarks
A WordWriter template is a file created in Microsoft Word that contains merge fields. WordWriter supports Microsoft Word 97, 2000, 2002 (XP), 2003, and 2007. Do not use Open to open files created in earlier versions of Microsoft Word.Examples
C#
oWW.Open(@"c:\templates\StringTemplate.doc");
vb.net
oWW.Open("c:\templates\StringTemplate.doc")
