CompressImages

Image handling, Document properties

Description

Specifies the compression to use for images added to the document.

Syntax

Delphi

function TPDFlib.CompressImages(Compress: Integer): Integer;

ActiveX

Function PDFlib::CompressImages(Compress As Long) As Long

DLL

int DLCompressImages(int InstanceID, int Compress);

Parameters

Compress0 = No compression 1 = Flate compression

Return values

0The Compress parameter was not valid
1The image compression was set successfully