SetPaperHeightInPixel

#include “BIADVPRN.H”

 

BOOL  SetPaperHeightInPixel( DWORD         paperheight,
DEVMODE*  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.

Parameters

DWORD

paperheight

Paper height in pixels (DWORD number).

DEVMODE*

pDevMode

Pointer to the DEVMODE structure.

Return values

TRUE if the member was successfully set, otherwise FALSE.

Requirements

Header :     Declared in BiAdvPrn.h; include BiAdvPrn.h.

Library :    Use BiAdvPrn.lib.

DLLs :       BiAdvPrn.dll.