Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Wiki Markup
{description}
{excerpt}Opens the WordWriter template specified by the {{templateFileName}} parameter.{excerpt}
{signature:C#}
 public void Open(System.String templateFileName)
{signature}{signature:vb.net}
Public Sub Open(ByVal templateFileName As String)
{signature}
{parameters}
{param:templateFileName}The complete path and file name of the template Word file.{param}
{exceptions}
{exception:ArgumentNullException}{exception}
{exception:FileNotFoundException}{exception}
{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|WordTemplate.Open] to open files created in earlier versions of Microsoft Word.

{remarks}
{example}{code:csharp|title=C#}
oWW.Open(@"c:\templates\StringTemplate.doc"); {code}
{code:vb.net|title=vb.net}
oWW.Open("c:\templates\StringTemplate.doc"){code}

{example}