GetOrientation

Returns the value of the dmOrientation member of the DevMode. Represents the value of the 'Orientation' radio button.

 

GetOrientation(pBlackIceDEVMODE As Long) As Integer

 

Input value   - handle to the BlackIceDEVMODE

Return value            - Orientation: If the value is 1 the orientation is Portrait.  If the value is 2 the orientation is Landscape

 

NOTE: For 32-bit applications , use pBlackIceDEVMODE as Integer, instead of Long.