Skip to main content

PdfViewer.PrintDocumentAsync(String) Method

Invokes the system print dialog.

Namespace: DevExpress.Maui.Pdf

Assembly: DevExpress.Maui.Pdf.dll

NuGet Package: DevExpress.Maui.Pdf

Declaration

public Task<bool> PrintDocumentAsync(
    string printJobTitle = null
)

Optional Parameters

Name Type Default Description
printJobTitle String null

The print job title (if null, the “Print document” title is used).

Returns

Type Description
Task<Boolean>

A task that allows you to wait for the printed document to be added to the print queue. This task can result in the following values: true if the file is successfully printed; false - the user cancelled the print operation.

See Also