PDFCompWrite method (ILEADPDFCompressor)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short PDFCompWrite (BSTR OutputFileName);

Overview

Refer to Creating a Compressed PDF File

Remarks

(Advanced PDF Plug in only) Writes the file in memory to a file on disk, using the path provided in the OutputFileName parameter.

The PDF Compressor normally creates the compressed PDF document file in memory. It can add as many pages as required to the file. Once the PDF file in memory is complete, call this method to write the file to disk, before calling the PdfCompFree method.

See Also

Elements:

PDFCompInit method, PDFCompInsertMRC method

Topics:

PDF Compressor Functions: Creating a File