Method OpenStream
OpenStream()
Opens a read-only stream over the preserved bytes, or over the replacement supplied to SetContent(byte[]).
public Stream OpenStream()
Returns
- Stream
The stream; the caller disposes it.
Exceptions
- InvalidOperationException
No data source is available (for example after the document was disposed).