GetTrimGrayscaleIntensity

#include “BlackIceDEVMODE.h”

 

DWORD GetTrimGrayscaleIntensity(BlackIceDEVMODE* pDevMode);

 

Description

 

Returns 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

 

Return value

 

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

 

Programming Notes

 

None

 

Code Example

 

None