PDFKit.NET 2.0 Class Library (.NET 2.0)

Document Constructor (Stream)

Opens an existing document.

public Document(
   Stream stream
);

Parameters

stream
The stream from which the document is read.

Remarks

The document should have no open password set.

This method is optimized for speed, and will cache some data into memory if any is true:

If caching does not occur, the stream must be kept open until the (target) document is written.

If you want to have full control over the caching behaviour, please use the overload with the BinaryReader, see the remarks available by that constructor for detailed information.

See Also

Document Class | TallComponents.PDF Namespace | Document Constructor Overload List