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

Constructor Document

Namespace TallComponents.PDF
Class Document

Opens an existing document.

Syntax

public Document(BinaryReader readerOpenOptions options)

Parameters


BinaryReader reader
The reader from which the document is read.

OpenOptions options
Options for opening the document.

The document should have no open password set.

This method gives you full control over how the document is read. It requires that the binary reader remains open during the lifetime of the document.

When using the BinaryReader, we will read information you need on demand only. (Note: you should not close/dispose the stream and/or BinaryReader during the whole session you need the document, pages, bookmarks, or other info extracted from it.) E.g., when you hit page 10, we skip (internally we seek to the correct position) all other pages, and return you page 10. If you later request page 5, we seek back and read that page. In this mode we do not read more information than needed; nor do we read the whole document into memory.

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.