SetXDPI

#include “BIADVPRN.H”

 

BOOL  SetXDPI( int                    xdpi,
DEVMODE*  pDevMode);

Description

Sets the dmPrintQuality member of the DevMode. Sets the value of the 'Horizontal Resolution' edit box.

Parameters

int

xdpi

Horizontal Resolution (integer 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.