Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Description

Takes a WordTemplate object representing a template Word file, and opens the file as a Document object.

C#
vb.net

Parameters

wwt
A WordTemplate object representing a template Word file.

Returns

The Word file that was passed from WordTemplate to WordApplication.

Exceptions

System.Exception
Thrown if an error occurs while opening the template.

Remarks

Though the WordTemplate object currently supports Office Open XML (Word 2007) format files, WordApplication.Open() does not yet support them.

Examples

C#
vb.net
  • No labels