A newer version of this page is available. Switch to the current version.

PdfExportOptions.ShowPrintDialogOnOpen Property

Gets or sets whether to display the Print dialog when a PDF file is opened.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v18.2.Core.dll

Declaration

[DefaultValue(false)]
[TypeConverter(typeof(PdfShowPrintDialogOnOpenConverter))]
[XtraSerializableProperty]
public bool ShowPrintDialogOnOpen { get; set; }
<DefaultValue(False)>
<TypeConverter(GetType(PdfShowPrintDialogOnOpenConverter))>
<XtraSerializableProperty>
Public Property ShowPrintDialogOnOpen As Boolean

Property Value

Type Default Description
Boolean

false

true, to show the Print dialog on open; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ShowPrintDialogOnOpen
Cross-Platform Class Library RemotePrintingSystem
.ExportOptions.Pdf.ShowPrintDialogOnOpen
ExportOptions
.Pdf.ShowPrintDialogOnOpen
PrintingSystemBase
.ExportOptions.Pdf.ShowPrintDialogOnOpen
WinForms Controls PrintingSystem
.ExportOptions.Pdf.ShowPrintDialogOnOpen
XtraSchedulerReport
.ExportOptions.Pdf.ShowPrintDialogOnOpen
WPF Controls ExportOptionsContainer
.Pdf.ShowPrintDialogOnOpen
PrintingSystem
.ExportOptions.Pdf.ShowPrintDialogOnOpen
PrintingSystem
.ExportOptions.Pdf.ShowPrintDialogOnOpen
Reporting XtraReport
.ExportOptions.Pdf.ShowPrintDialogOnOpen
DocumentOperationRequest
.ExportOptions.Pdf.ShowPrintDialogOnOpen

Remarks

Set the ShowPrintDialogOnOpen property to true to display the Print dialog when users open an exported document.

NOTE

The Print dialog is not displayed when users open a document in the following web browsers:

  • Google Chrome version 77 or later.
  • Microsoft Edge.

PdfExportOptions.ShowPrintDialogOnOpen

See Also