PDFRasterizer.NET 4.0 is now available. Supports .NET Core. Renders pixel-perfectly.

Method Write

Namespace TallComponents.PDF
Class Document

Write the modified document to any writer.

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 underlying 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.

Syntax

public Void Write(BinaryWriter binaryWriterDocumentWriteMode writeModeBoolean keepOpen)

Returns

Void

Parameters


BinaryWriter binaryWriter
Write the document to this writer.

DocumentWriteMode writeMode
The write mode to use.

Boolean keepOpen
Keep the document open after writing.
Download PDFKit.NET 5.0
We will send you a download link

  • This field is for validation purposes and should be left unchanged.
Why do we ask your email address?
We send tips that speed up your evaluation
We let you know about bug fixes
You can always unsubscribe with one click
We never share your address with a 3rd party
Thank you for your download

We have sent an email with a download link.