GetTrimWhitespace

#include “BlackIceDEVMODE.h”

 

BOOL GetTrimWhitespace(BlackIceDEVMODE* pBlackIceDevMode, BOOL* pTrimLeft, BOOL* pTrimRight, BOOL* pTrimTop, BOOL* pTrimBottom);

 

Description

 

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.

 

Parameters

 

BlackIceDEVMODE* pDevMode

- pointer to the BlackIceDEVMODE structure

BOOL* pTrimLeft

- returns TRUE of trimming is turned on for the left margin.

BOOL* pTrimRight

- returns TRUE of trimming is turned on for the right margin

BOOL* pTrimTop

- returns TRUE of trimming is turned on for the top margin

BOOL* pTrimBottom

- returns TRUE of trimming is turned on for the bottom margin

 

Return value

 

TRUE on success otherwise FALSE.

 

Programming Notes

 

None

 

Code Example

 

None