Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PdfViewer.PrintDocumentAsync(String) Method

Invokes the system print dialog.

Namespace: DevExpress.Maui.Pdf

Assembly: DevExpress.Maui.Pdf.dll

NuGet Package: DevExpress.Maui.Pdf

#Declaration

C#
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