VpeSetCompression

<< Click to Display Table of Contents >>

Navigation:  Management Functions >

VpeSetCompression

Previous pageReturn to chapter overviewNext page

[Not supported by the Community Edition]

Sets the current mode for compression. This affects writing native VPE document files as well as exporting PDF files.

void VpeSetCompression(

VpeHandle hDoc,

int compression

)

VpeHandle hDoc

Document Handle

int compression

possible values are:

Constant Name

Value

Comment

DOC_COMPRESS_NONE

0

no compression

DOC_COMPRESS_FLATE

1

flate (ZLIB) compression

Default:

DOC_COMPRESS_FLATE

Remarks:

When creating a VPE document file using VpeOpenDocFile(), compression is always activated.

 

The trial version of VPE will always use compression for exported PDF files.

 

For the Community Edition, compression is not available.