PtrDevice:PageNums Access/Assign

<< Click to Display Table of Contents >>

Navigation:  RpPrinter & PtrDevice Class Overview > PtrDevice Class >

PtrDevice:PageNums Access/Assign

Previous pageReturn to chapter overviewNext page
Type        Logic


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.


// Set the Pages radio button as selected

oPtrDevice:PageNums := True



Note:        Page range restricted printing is handled automatically by the PtrDevice class.