SetPaperSize

#include “BIADVPRN.H”

 

BOOL  SetPaperSize( int                    papersize,
DEVMODE*  pDevMode);

Description

Sets the dmPaperSize member of the DevMode. Represents the value of the 'Paper Size' combo box.

Parameters

LPTSTR

papersize

Paper size (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.