Description |
---|
Excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
Opens and returns an existing Document from the specified
|
Signature | ||||
---|---|---|---|---|
| ||||
public Document Open(System.IO.Stream stream) |
Signature | ||||
---|---|---|---|---|
| ||||
Public Function Open(ByVal stream As System.IO.Stream) As Document |
Parameters |
---|
Param | ||||
---|---|---|---|---|
| ||||
Stream to read the document from. |
Returns |
---|
The document contained in the specified stream. |
Exceptions |
---|
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. |
Example | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|