PtrDevice:Print2File Access/Assign

<< Click to Display Table of Contents >>

Navigation:  RpPrinter & PtrDevice Class Overview > PtrDevice Class >

PtrDevice:Print2File Access/Assign

Previous pageReturn to chapter overviewNext page
Type        Logic


The access returns TRUE if the PRINTDLG.FLAGS member has the PRINTTOFILE bit set.  When queried after the Print Dialog Window is shown, it indicates whether the user selected the Print To File check box.


The assign sets (TRUE) or clears (FALSE) the PRINTTOFILE bit of the PRINTDLG.FLAGS member.  This causes the Print To File check box to be checked by default when the Print Dialog Window is shown.


// Show the print dialog with the print to file box checked

oPtrDevice:Print2File := True