#include “BlackIceDEVMODE.h”
BOOL SetTrimWhitespace(BlackIceDEVMODE* pBlackIceDevMode, BOOL bTrimLeft, BOOL bTrimRight, BOOL bTrimTop, BOOL bTrimBottom);
Description
Enables or disables the Trim Whitespace option. The Trim Whitespace options can be used to automatically cut off the unused margins of the pages.
Parameters
BlackIceDEVMODE* pDevMode |
- pointer to the BlackIceDEVMODE structure |
BOOL bTrimLeft |
- enables or disables trimming for the left margin. |
BOOL bTrimRight |
- enables or disables trimming for the right margin |
BOOL bTrimTop |
- enables or disables trimming for the top margin |
BOOL bTrimBottom |
- enables or disables trimming for the bottom margin |
Return value
TRUE on success otherwise FALSE.
Programming Notes
None
Code Example
None