#include “BIADVPRN.H”
int GetOrientation(DEVMODE* pDevMode);
Description
Returns the value of the dmOrientation member of the DevMode. Represents the value of the 'Orientation' radio button.
Parameters
|
DEVMODE* |
pDevMode |
Pointer to the DEVMODE structure. |
Return values
Orientation: if the value is 1 the orientation is Portrait, if the value is 2: the orientation is Landscape
Requirements
Header : Declared in BiAdvPrn.h; include BiAdvPrn.h.
Library : Use BiAdvPrn.lib.
DLLs : BiAdvPrn.dll.