Back to Devexpress

ShowPrintDialog(TdxPDFCustomViewer) Method

vcl-dxpdfviewer-dot-showprintdialog-x28-203cd619-x29.md

latest1.1 KB
Original Source

ShowPrintDialog(TdxPDFCustomViewer) Method

Invokes the Print dialog.

Declaration

delphi
procedure ShowPrintDialog(AViewer: TdxPDFCustomViewer);

Parameters

NameType
AViewerTdxPDFCustomViewer

Remarks

Call this global procedure to display the Print dialog for a PDF Viewer instance passed as the AViewer parameter.

Calling the ShowPrintDialog global procedure is equivalent to executing the ShowPrintForm command provided by the PDF Viewer control. If printing is not allowed in the document displayed by the specified PDF Viewer (i.e., its Document.AllowPrinting property returns False ), calling this procedure has no effect.

See Also

dxPDFViewer Unit