DocumentWrite Method (Stream, DocumentWriteMode)
Write the modified document to a stream, eg a FileStream or MemoryStream.

Namespace:  TallComponents.PDF
Assembly:  TallComponents.PDF.Kit (in TallComponents.PDF.Kit.dll) Version: 4.0.98.0
Syntax
public void Write(
	Stream stream,
	DocumentWriteMode writeMode
)

Parameters

stream
Type: System.IOStream
Write the document to this stream.
writeMode
Type: TallComponents.PDFDocumentWriteMode
The write mode to use.
Remarks

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 underlaying output stream is seekable. If the stream is writable only (eg Response.OutputStream) an exception will be raised.

See Also