LinkBase.Print() Method

Opens the Print dialog that allows printing the current document.

Namespace: DevExpress.Xpf.Printing

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

Declaration

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

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