SetOrientation

#include “BIADVPRN.H”

 

BOOL  SetOrientation( int                    Orientation,
DEVMODE*  pDevMode);

Description

Sets the dmOrientation member of the DevMode. Sets the value of the 'Orientation' radio button.

Parameters

int

Orientation

Orientation (integer number) 1:Portrait,  2:Landscape

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.