LinkBase.Print() Method

Opens the Print dialog that allows printing the current document.

Namespace: DevExpress.Xpf.Printing

Assembly: DevExpress.Xpf.Printing.v21.2.dll


public bool? Print()


Type Description

true, if the user clicks OK in the dialog; false, if the user clicks Cancel; otherwise, null (Nothing in Visual Basic).


This method displays the Print dialog that allows an end-user to print the document, as well as select the printer (if required), specify the range of pages to print, the number of copies, etc. To print the document immediately without invoking any dialogs, use the LinkBase.PrintDirect method instead.

See Also