IPrintService.PrintAsync(Stream, String, PrintContentType) Method
Shows the system print dialog asynchronously. The method returns the Task that completes when the print operation is started or cancelled.
Namespace: DevExpress.Maui.Mvvm
Assembly: DevExpress.Maui.Mvvm.dll
NuGet Package: DevExpress.Maui.Mvvm
Declaration
Task<bool> PrintAsync(
Stream stream,
string jobTitle = "Print Document",
PrintContentType printContentType = PrintContentType.Pdf
)
Parameters
| Name | Type | Description |
|---|---|---|
| stream | Stream | A stream. |
Optional Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| jobTitle | String | "Print Document" | The title of the print job. This title is most often displayed in the printer’s job queue or user interface. |
| printContentType | PrintContentType | The content type. |
Returns
| Type | Description |
|---|---|
| Task<Boolean> | An operation that executes asynchronously and is completed when the print operation is started or canceled. The |
See Also