PtrDevice:HidePrint2File Assign

<< Click to Display Table of Contents >>

Navigation:  RpPrinter & PtrDevice Class Overview > PtrDevice Class >

PtrDevice:HidePrint2File Assign

Previous pageReturn to chapter overviewNext page
Type        Logic

Purpose

To set (TRUE) or clear (FALSE) the PRINTDLG.FLAGS structure member HIDEPRINTTOFILE bit which hides (TRUE) or shows (FALSE) the Print To File option in the Print Dialog Window.

Example

// Hide the Print To File check box from the user

oPrtDevice:HidePrint2File := True

oPtrDevice:ShowPrintDlg()