Skip to content

CommonDialogPrintDialogConstants Enumeration

Description

Printer Dialog Constants.

Members

Member Description
xtpPDCollate Returns or sets the state of the Collate check box.
xtpPDDisablePrintToFile Disables the Print To File check box.
xtpPDHelpButton Causes the dialog box to display the Help button.
xtpPDHidePrintToFile Hides the Print To File check box.
xtpPDNoPageNums Disables the Pages option button and the associated edit control.
xtpPDNoSelection Disables the Selection option button.
xtpPDNoWarning Prevents a warning message from being displayed when there is no default printer.
xtpPDPageNums Returns or sets the state of the Pages option button.
xtpPDPrintSetup Causes the system to display the Print Setup dialog box instead of the Print dialog box.
xtpPDPrintToFile Returns or sets the state of the Print To File check box.
xtpPDReturnDC Returns a device context for the printer selection made in the dialog box. The device context is returned in the hDC property of the dialog box.
xtpPDReturnDefault Returns the default printer name.
xtpPDReturnIC Returns an information context for the printer selection made in the dialog box. An information context provides a fast way to get information about the device without creating a device context. The information context is returned in the hDC property of the dialog box.
xtpPDSelection Returns or sets the state of the Selection option button. If neither xtpPDPageNums nor xtpPDSelection is specified, the All option button is in the selected state.
xtpPDUseDevModeCopies If a printer driver does not support multiple copies, setting this flag disables the Number of Copies spinner control in the Print dialog box. If a driver does support multiple copies, setting this flag indicates that the dialog box stores the requested number of copies in the Copies property.
xtpPDNoNetworkButton Hides and disables the Network button.

Remarks

These flags are used to set options for an Open or Save dialog using the CommonDialog.Flags when the CommonDialog.ShowPrint method is called.


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.