Enables or disables the Trim Whitespace option. The Trim Whitespace options can be used to automatically cut off the unused margins of the pages.
SetTrimWhitespace(pDevMode As Long, bTrimLeft As Boolean, bTrimRight As Boolean, bTrimTop As Boolean, bTrimBottom As Boolean) As Boolean
Input value pDevMode |
- handle to the BlackIceDEVMODE structure |
Input value bTrimLeft |
- enables or disables trimming for the left margin. |
Input value bTrimRight |
- enables or disables trimming for the right margin |
Input value bTrimTop |
- enables or disables trimming for the top margin |
Input value bTrimBottom |
- enables or disables trimming for the bottom margin |
Return value |
- TRUE on success otherwise FALSE. |
NOTE: For 32-bit applications, use pDevMode as Integer, instead of Long.