Enables or disables page cropping in the printer driver. Use the SetCropMode and SetCropArea functions to set how to crop the page.
SetCropEnabled(pDevMode As Long, bEnabled As Boolean) As Boolean
|
Input value pDevMode |
- Handle to the BlackIceDEVMODE structure |
|
Input value bEnabled |
- Set to TRUE, to turn on cropping, set to FALSE, to turn cropping off. |
|
Return value |
- TRUE on success otherwise FALSE. |
NOTE: For 32-bit applications, use pDevMode as Integer, instead of Long.