SetTrimGrayscaleIntensity

#include “BlackIceDEVMODE.h”

 

BOOL SetTrimGrayscaleIntensity(BlackIceDEVMODE* pDevMode, DWORD dwIntensity);

 

Description

 

Sets the grayscale intensity level where the page is cut, when trimming based on grayscale intensity. The driver cuts the margins at the first pixel that is the same darkness or darker than the chosen grayscale intensity level.

 

Parameters

 

BlackIceDEVMODE* pDevMode  

- pointer to the BlackIceDEVMODE structure

DWORD dwIntensity

– Grayscale intensity level between 1 and 100. 1 is the lightest gray (but not white), 100 is black.

 

Return value

 

TRUE on success otherwise FALSE.

 

Programming Notes

 

None

 

Code Example

 

None