Method Write

Namespace TallComponents.PDF
Class Document

Write the modified document to a stream, eg a FileStream or MemoryStream.

For signing support you must be sure the stream is seekable. If the stream is writable only (eg Response.OutputStream) an exception will be raised. The stream is flushed before this method returns.

Syntax

public  Void  Write( Stream  stream Boolean  keepOpen )

Returns

Void

Parameters


Stream stream
Write the document to this stream.

Boolean keepOpen
Keep the document open after writing.