Write the modified document to a stream, eg a FileStream or MemoryStream.
Namespace: TallComponents.PDFAssembly: TallComponents.PDF.Kit (in TallComponents.PDF.Kit.dll) Version: 3.0.69.0
Syntax
| C# |
|---|
public void Write( Stream stream, bool keepOpen ) |
| Visual Basic |
|---|
Public Sub Write ( _ stream As Stream, _ keepOpen As Boolean _ ) |
Parameters
- stream
- Type: System.IO..::..Stream
Write the document to this stream.
- keepOpen
- Type: System..::..Boolean
Keep the document open after writing.
Remarks
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.