Back to Devexpress

LinkBase.Print() Method

wpf-devexpress-dot-xpf-dot-printing-dot-linkbase-a6d41632.md

latest1.5 KB
Original Source

LinkBase.Print() Method

Opens the Print dialog that allows printing the current document.

Namespace : DevExpress.Xpf.Printing

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

NuGet Package : DevExpress.Wpf.Printing

Declaration

csharp
public bool? Print()
vb
Public Function Print As Boolean?

Returns

TypeDescription
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

LinkBase Class

LinkBase Members

DevExpress.Xpf.Printing Namespace