PtrDevice:DisablePrint2File Assign

<< Click to Display Table of Contents >>

Navigation:  RpPrinter & PtrDevice Class Overview > PtrDevice Class >

PtrDevice:DisablePrint2File Assign

Previous pageReturn to chapter overviewNext page
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()