Gets or sets a value indicating whether output PDF files should be linearized for faster web viewing.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public bool Linearize { get; set; }
VB
Public Property Linearize As Boolean
	Get
	Set

Property Value

Type: Boolean
true if library should linearize output PDF files; otherwise, false.

Remarks

Linearization (sometimes called Fast Web View by Adobe) restructures a PDF document for page-at-a-time downloading (byte-serving) from web servers.

A linearized (or a Fast Web View optimized) PDF file is a file that has been organized in a special way to enable efficient incremental access in a network environment. The file is valid PDF in all respects, and is compatible with all existing viewers and other PDF applications. Enhanced viewer applications can recognize that a PDF file has been linearized and can take advantage of that organization (as well as added hint information) to enhance viewing performance. This is especially important with large documents that can take a long time to download from a server.

Please note that linearized document will display faster if you set PageLayout property to SinglePage and PageMode property to UseNone because it will minimize the amount of objects a PDF viewer should process before showing first page of the document.

Please note that fillable PDF forms won't usually benefit from being linearized.

Default value: false.

If current document was created from an existing linearized document then this property will be automatically set to true.

See Also