SetOrientation

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

Syntax                 RetVal = [BIAdvPrn.]SetOrientation  Orientation pDevMode

Returns               RetVal                    Boolean           TRUE if the member was successfully set, otherwise FALSE.

Remarks             Orientation            Integer             Orientation (integer number) 1:Portrait,  2:Landscape.

                            pDevMode             DEVMODE*  Pointer to the DEVMODE structure.

See Also