Table of Contents

Method OpenStream

Namespace
DocWright.Word
Assembly
DocWright.Word.dll

OpenStream()

Opens a read-only stream over the image bytes from the source package.

public Stream OpenStream()

Returns

Stream

The stream; the caller disposes it.

Exceptions

InvalidOperationException

The node is not attached to a document with a package source, the part URI is unknown, or the part cannot be opened (for example after the document was disposed).