CompressContent
Document properties
Description
Compresses the content of the selected document. The Flate algorithm is used to compress the content, and the resulting page content streams use the PDF /FlateDecode filter.
On Windows, version 3.12.0 uses the bundled zlib-ng backend in zlib-compatible mode for this Flate compression path. Win64 builds link the bcc64x zlib-ng runtime SIMD object set, while Win32 keeps the compatibility-focused generic object set. Existing Delphi, ActiveX, DLL, and C++Builder calls do not need source changes.
Syntax
Delphi
function TPDFlib.CompressContent: Integer;ActiveX
Function PDFlib::CompressContent As LongDLL
int DLCompressContent(int InstanceID);Return values
| 0 | The content could not be compressed The content was compressed successfully |
|---|---|
| 1 |