PtrDevice:DisablePrint2File Assign
<< Click to Display Table of Contents >> PtrDevice:DisablePrint2File Assign |
![]() ![]() ![]() |
Type | Logic |
Purpose
To set (TRUE) or clear (FALSE) the PRINTDLG.FLAGS member DISABLEPRINTTOFILE bit which disables/enables the print to file option in the Print Dialog Window.
Example
// Don't allow the user to select Print To File
oPtrDevice:DisablePrint2File := True
oPtrDevice:ShowPrintDlg()