Skip to main content
Skip table of contents

Linearized Output

Mako can produce linearized PDF output, sometimes known as "web ready" PDF. Linearization enables more efficient structuring and streaming of PDFs. This is important for scenarios where PDFs are accessed over a network or internet connection.

Turning on Linearization

Enabling linearized output is easy, and requires a single call to your IPDFOutput class.

CPP
pdfOutput->setLinearize(true)
C#
pdfOutput.setLinearize(true)

Turning on linearization will generally make outputting the PDF a slightly slower operation.

When set, a request to use incremental serialization (see Incremental Output) is ignored.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.