DocumentWrite Method (BinaryWriter, DocumentWriteMode, Boolean)
Note: This API is now obsolete.
Assembly: TallComponents.PDF.Kit (in TallComponents.PDF.Kit.dll) Version: 188.8.131.52
[ObsoleteAttribute("Use a Write method that takes a FileStream instead. This method will no longer be available in the next major version.")] public void Write( BinaryWriter binaryWriter, DocumentWriteMode writeMode, bool keepOpen )
<ObsoleteAttribute("Use a Write method that takes a FileStream instead. This method will no longer be available in the next major version.")> Public Sub Write ( binaryWriter As BinaryWriter, writeMode As DocumentWriteMode, keepOpen As Boolean )
Keep the document open after writing.
Note that this allows you to write the document to a file, HTTP response or memory with full control.
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.
If keepOpen is false, you cannot write more than once on the same document instance. After calling Document.Write() information in this instance can be incorrect.