GetPdfAResamplingMethod

 

 

#include “BlackIceDEVMODE.h”

 

BOOL            GetPdfAResamplingMethod (BlackIceDEVMODE* pDevMode, int* pValue);

Description

Returns the selected resampling method. *pValue specifies, which method is used for the resampling done on the images (to reduce the resulting file size).

 

Parameters

BlackIceDEVMODE* pDevMode            - pointer to the BlackIceDEVMODE structure.

int* pValue                                                   - pointer to the variable, that will contain 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