Skip to main content
A newer version of this page is available. .

PdfExportOptions.ShowPrintDialogOnOpen Property

Gets or sets a value indicating whether the Print dialog should be displayed when a PDF file is opened in an appropriate application.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v19.1.Core.dll

Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
public bool ShowPrintDialogOnOpen { get; set; }

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 ExportOptions
.Pdf.ShowPrintDialogOnOpen
WinForms Controls DiagramOptionsExport
.PdfExportOptions.ShowPrintDialogOnOpen
WPF Controls DiagramControl
.PdfExportOptions.ShowPrintDialogOnOpen
DiagramDesignerControl
.PdfExportOptions.ShowPrintDialogOnOpen
ExportOptionsContainer
.Pdf.ShowPrintDialogOnOpen

Remarks

Set the ShowPrintDialogOnOpen property to true when the main purpose of exporting a document to PDF is to print it using Adobe Acrobat® printing capabilities.

The Print dialog is shown in the image below.

PdfExportOptions.ShowPrintDialogOnOpen

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowPrintDialogOnOpen property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also