SetPdfAResamplingMethod

 

 

#include “BlackIceDEVMODE.h”

 

BOOL            SetPdfAResamplingMethod (BlackIceDEVMODE* pDevMode, int iValue);

Description

Sets the resampling method. This value specifies, by using which method should be the resampling done on the images (to reduce the resulting file size)

Parameters

BlackIceDEVMODE* pDevMode            - pointer to the BlackIceDEVMODE structure.

int iValue                                                      - the resampling method, can be one of the following values:

PDF_RESAMPLING_NONE                     // 0: no resampling applied to the images
PDF_RESAMPLING_BILINEAR              // 1: bilinear interpolation
PDF_RESAMPLING_CUBIC_SPLINE    // 2: cubic spline interpolation

Return value

TRUE on success, otherwise FALSE.

Programming Notes

None

Code Example

None