SetOrientation

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

 

SetOrientation(Orientation As Integer, pBlackIceDEVMODE As Long) As Boolean

 

Input value: Orientation                - Orientation  1:Portrait,  2:Landscape.

Input value: pBlackIceDEVMODE         - handle to the BlackIceDEVMODE.

Return value            - TRUE if the member was successfully set, otherwise FALSE.

 

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