Linearization | Programming with Generator for COM-ActiveX

By default DynamicPDF™ Generator for COM/ActiveX produces single pass (non-linearized) PDF documents that are tagged as PDF version 1.4. These values can be specified individually on each document object through the documents PdfVersion and PdfFormat properties.

Static Properties

These properties can be set using the PdfFormat and PdfVersion properties on the Document object.

[ASP - VBScript]

<pre><!--METADATA TYPE="typelib" UUID="{DF9225FE-94A4-490D-8CAD-E8366CE621D3}"--> <% ' Outputs the PDF document to the page object. Dim MyDocument Dim MyPage Set MyDocument = Server.CreateObject( "DynamicPDF.Document" ) Set MyPage = MyDocument.AddPage() MyDocument.PdfFormat = DPDF_PdfFormat_Linearized MyDocument.PdfVersion = DPDF_PdfVersion_v1_5 MyDocument.DrawToWeb True 'Caching is needed Set MyPage = Nothing Set MyDocument = Nothing %> Note: This will only affect Document objects created after the properties are set.

See Also 

Linearization | Programming with Generator for COM-ActiveX