SetPdfStreamCompression

 

 

#include “BlackIceDEVMODE.h”

 

BOOL             SetPdfStreamCompression (BlackIceDEVMODE* pDevMode, int iCompression);

Description

Sets the stream compression of the PDF document. Available values:

            BLF_PDF_STREAM_COMPRESSION_NONE

            BLF_PDF_STREAM_ASCII_HEX

            BLF_PDF_STREAM_ASCII_85

            BLF_PDF_STREAM_LZW

            BLF_PDF_STREAM_COMPRESSION_FLATEENCODE

            BLF_PDF_STREAM_COMPRESSION_RUNLENGTH

Parameters

BlackIceDEVMODE* pDevMode            - pointer to the BlackIceDEVMODE structure.

int*iCompression                                       - value of the compression to set

Return value

TRUE on success, otherwise FALSE.

Programming Notes

None

Code Example

None