DocumentWrite Method (BinaryWriter, Boolean)

Note: This API is now obsolete.

Write the modified document to any writer.

Namespace:  TallComponents.PDF
Assembly:  TallComponents.PDF.Kit (in TallComponents.PDF.Kit.dll) Version: 4.0.98.0
Syntax
[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,
	bool keepOpen
)

Parameters

binaryWriter
Type: System.IOBinaryWriter
Write the document to this writer.
keepOpen
Type: SystemBoolean
Keep the document open after writing.
Remarks

Note that this allows you to write the document to a file, HTTP response or memory with full control.

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.

See Also