Method Write

Namespace TallComponents.PDF
Class Document

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

Note that you cannot write more than once on the same document instance. After calling Document.Write() information in this instance can be incorrect.

For signing support you must be sure the underlying output stream is seekable. If the stream is writable only (eg Response.OutputStream) an exception will be raised.

Syntax

public  Void  Write( Stream  stream DocumentWriteMode  writeMode )

Returns

Void

Parameters


Stream stream
Write the document to this stream.

DocumentWriteMode writeMode
The write mode to use.