Returns the state of the Trim Whitespace option. The Trim Whitespace options can be used to automatically cut off the unused margins of the pages.
GetTrimWhitespace(pDevMode As Long, ByRef pTrimLeft As Boolean, ByRef pTrimRight As Boolean, ByRef pTrimTop As Boolean, ByRef pTrimBottom As Boolean) As Boolean
Input value pDevMode |
- handle to the BlackIceDEVMODE structure |
Output value pTrimLeft |
- returns TRUE of trimming is turned on for the left margin. |
Output value pTrimRight |
- returns TRUE of trimming is turned on for the right margin |
Output value pTrimTop |
- returns TRUE of trimming is turned on for the top margin |
Output value pTrimBottom |
- returns TRUE of trimming is turned on for the bottom margin |
Return value |
- TRUE on success otherwise FALSE. |
NOTE: For 32-bit applications, use pDevMode as Integer, instead of Long.