Skip to end of metadata
Go to start of metadata

Description

Opens and returns an existing Document from the specified Stream.

C#
vb.net

Parameters

stream
Stream to read the document from.

Returns

The document contained in the specified stream.

Exceptions

System.Exception
Thrown if there is an error opening the document.

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