SetPaperHeightInPixel

 

 

#include “BlackIceDEVMODE.h”

 

BOOL             SetPaperHeightInPixel(DWORD paperheight, BlackIceDEVMODE* pDevMode);

Description

Sets the PaperHeightInPixels member of the BlackIceDEVMODE. Sets the value of the 'Paper Height' edit box when  “PIXEL” is selected for the measurement unit.

This function is for internal use, please use the SetPaperLength function instead.

Parameters

DWORD paperheight                                  - paper height in pixels (DWORD number).

BlackIceDEVMODE* pDevMode               - pointer to the BlackIceDEVMODE structure.

Return value

TRUE if the member was successfully set, otherwise FALSE.

Programming Notes

None

Code Example

None