Public Function Open(ByVal stream As System.IO.Stream) As Document
{signature}
{parameters}
{param:stream}Stream to read the document from.{param}
{returns}The document contained in the specified stream.{returns}
{exceptions}
{exception:System.Exception}Thrown if there is an error opening the document.{exception}
{remarks}Though the [WordTemplate|WordTemplate] object currently supports Office Open XML \(Word 2007\) format files, [WordApplication.Open()|WordApplication.Open] does not yet support them.
{remarks}
{example}{code:csharp|title=C#} |