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

Constructor Document

Namespace TallComponents.PDF.Rasterizer
Class Document

Opens an existing password-protected document.

Syntax

public Document(Stream streamString password)

Parameters


Stream stream
The stream from which the document is read.

String password
Password that is required to open this document.

This method is optimized for speed, and will cache some data into memory if any is true: the stream does not provide random access (!stream.CanSeek);the stream is read from a file (stream is FileStream). If caching does not occur, the stream must be kept open during the lifetime of the document.

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.

Download PDFRasterizer.NET 4.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.