SetCropEnabled

#include “BlackIceDEVMODE.h”

 

BOOL SetCropEnabled(BlackIceDEVMODE* pDevMode, BOOL bEnabled);

 

Description

 

Enables or disables page cropping in the printer driver. Use the SetCropMode and SetCropArea functions to set how to crop the page.

 

Parameters

 

BlackIceDEVMODE* pDevMode  

- pointer to the BlackIceDEVMODE structure

BOOL bEnabled

– Set to TRUE, to turn on cropping, set to FALSE, to turn cropping off.

 

Return value

 

TRUE on success otherwise FALSE.

 

Programming Notes

 

None

 

Code Example

 

None