BCL easyPDF SDK
easyPDF SDK Usermanual
PDF Creator Programming API  |  Download Free Trial  |  Contact Us to Purchase

Linearize Method

Linearize PDF

Sub Linearize(InputFileName As String,
              OutputFileName As String,
              [Password] As String)

void Linearize(string InputFileName,
               string OutputFileName,
               string Password)

void Linearize(String InputFileName,
               String OutputFileName,
               String Password) throws PDFProcessorException

Parameters

Return Values

N/A.

Remarks

Linearization is a process of optimizing the PDF for displaying in a web browser.
Normally a PDF file (especially the one that has a big file size) cannot be displayed until the entire content is downloaded.
Linearization allows PDF files to be displayed in a browser almost instantly, and pages of the PDF file are getting downloaded on demand (as the user scrolls).

Example Usage

Set oProcessor = CreateObject("easyPDF.PDFProcessor.8")
 
oProcessor.Linearize "C:\test\input.pdf", _
                     "C:\test\output.pdf"