Message-ID: <1546607417.7659.1711617365973.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_7658_198012660.1711617365973" ------=_Part_7658_198012660.1711617365973 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html WordApplication.Open(System.IO.Stream)

WordApplication.Open(System.IO.Stream)

Descr= iption

=20

Opens and returns an existing Document= from the specified Stream.

=20
C#
=20
 public Document Open(System.IO.Stream stream)
=20
=20
vb.net
=20
Public Function Open(ByVal stream As System.IO.Stream) As Document
=20
=20

Parameters=20

stream
Stream= to read the document from.=20

Returns

The = document contained in the specified stream.=20

Exceptions=20

System.E= xception
Thrown if there is an error opening the document.=20

Remarks

Thou= gh the=20 WordTemplate obj= ect currently supports Office Open XML (Word 2007) format files,=20 WordApplicat= ion.Open() does not yet support them.=20

Examples

=20
C#
=20
Document doc =3D app.Open(strm);
=20
=20
vb.net
=20
Dim doc As Document =3D app.Open(strm)
=20
------=_Part_7658_198012660.1711617365973--