PtrDevice:PageNums Access/Assign
<< Click to Display Table of Contents >> PtrDevice:PageNums Access/Assign |
![]() ![]() ![]() |
Type | Logic |
Purpose
The access returns TRUE if the PRINTDLG.FLAGS member has the PAGENUMS bit set. When queried after the Print Dialog Window is shown, it indicates that the user selected the Pages radio button.
The assign sets (TRUE) or clears (FALSE) the PAGENUMS bit of the PRINTDLG.FLAGS member which causes the Pages radio button to be selected by default when the Print Dialog Window is presented.
Example
// Set the Pages radio button as selected
oPtrDevice:PageNums := True
oPtrDevice:ShowPrintDlg()
Note: | Page range restricted printing is handled automatically by the PtrDevice class. |