piMinPage - cPrintDialog¶
Type¶
Default¶
1
Arguments¶
None
Description¶
The value of this property is passed to the Windows printer selection dialog as the start page number.
While it is possible for the developer to set this value, it is also set in several operations:
- CopyPageRangeInfo: This private routine sets
piMinPageto the lowest found value in the array of page ranges. - PrintDialog: Sets the value based on the returned information from the printer selection dialog.
Sample¶
Object oReport is a cDRReport
Set psReportName to 'MyReport.dr'
Procedure OnInitializeReport
Handle hoPrintDialog
Forward Send OnInitializeReport
Get phoPrintDialog to hoPrintDialog
Set piMaxPageRanges of hoPrintDialog to 5
End_Procedure
End_Object