Skip to main content

LinkBase.Print() Method

Opens the Print dialog that allows printing the current document.

Namespace: DevExpress.Xpf.Printing

Assembly: DevExpress.Xpf.Printing.v24.1.dll

NuGet Package: DevExpress.Wpf.Printing

Declaration

public bool? Print()

Returns

Type Description
Nullable<Boolean>

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

Remarks

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