peOrientation - cPrintDialog¶
Type¶
Short
Default¶
0
Arguments¶
None
Description¶
Selects the orientation of the paper. Use one of the predefined DMORIENT_* constants.
Sample¶
Object oReport is a cDRReport
Set psReportName to 'MyReport.dr'
Procedure OnInitializeReport
Handle hoPrintDialog
Forward Send OnInitializeReport
Get phoPrintDialog to hoPrintDialog
Set peOrientation of hoPrintDialog to DMORIENT_PORTRAIT
End_Procedure
End_Object