piPaperLength - cPrintDialog¶
Type¶
Short
Default¶
0
Arguments¶
None
Description¶
Can be used to override the pePaperSize setting. The value is in tenths of millimeter.
Sample¶
Object oReport is a cDRReport
Set psReportName to 'MyReport.dr'
Procedure OnInitializeReport
Handle hoPrintDialog
Forward Send OnInitializeReport
Get phoPrintDialog to hoPrintDialog
Set piPaperLength of hoPrintDialog to 297
End_Procedure
End_Object