SetPdfColorImgCompression

 

#include “BlackIceDEVMODE.h”

 

BOOL            SetPdfColorImgCompression (BlackIceDEVMODE* pDevMode, int iCompression);

Description

Sets the compression of color images in the PDF document. Available values:

            BLF_PDF_COLOR_IMAGE_COMP_NONE

            BLF_PDF_COLOR_IMAGE_COMP_ASCII_HEX

            BLF_PDF_COLOR_IMAGE_COMP_ASCII_85

            BLF_PDF_COLOR_IMAGE_COMP_LZW

            BLF_PDF_COLOR_IMAGE_COMP_FLATE

            BLF_PDF_COLOR_IMAGE_COMP_RUNLENGTH

            BLF_PDF_COLOR_IMAGE_COMP_JPEG

 

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