PDF Linearization

DynamicPDF Core Suite for .NET V11.xx can produce both linearized and single pass (non-linearized) PDFs. This can be specified using the PdfFormat property of the Document object. The advantages and disadvantages of both types of PDFs is discussed below.

Linearized PDFs

Linearized PDF output (also known as 'fast web view') offers a substantial advantage as to when PDFs will are created and placed on a web server as a file. The first page of the PDF displays more quickly because the entire PDF does not need to be downloaded before it can be displayed. Pages can also be requested individually as they are needed while navigating through the document. Linearized PDFs are structured for optimized viewing, meaning the reader will have to do less work to display their content.

The main disadvantage for linearized output is that linearized PDFs requires more resources to create and result in slightly larger file sizes. Also, page at a time viewing will only work with static files on a web server and not with streamed (output using the DrawToWeb method) PDF documents. This is because web servers handle streamed and static content differently and there is no mechanism in place for the client to request portions of a streamed document from the web server.

Linearized output is preferred when PDFs will be placed on a web server for viewing over the Internet.

Single Pass (Non-Linearized) PDFs

Single Pass output flushes content to the output stream as quickly as possible. This means that they require less time and fewer resources to create. The disadvantage to Single Pass output is that is not optimized for viewing and reader may require slightly more resources to display the content. Single Pass output is preferred when producing PDFs as quickly and with the fewest resources possible is required.

In this topic