Skip to main content

PdfViewerCommands.PrintDocument Property

Returns the command that invokes the system print dialog.

Namespace: DevExpress.Maui.Pdf

Assembly: DevExpress.Maui.Pdf.dll

NuGet Package: DevExpress.Maui.Pdf

Declaration

public Command PrintDocument { get; }

Property Value

Type Description
Command

The command that invokes the system print dialog.

Remarks

The following example invokes the system print dialog:

DevExpress PDF Viewer for .NET MAUI - iOS print dialog

<ContentPage.ToolbarItems>
    <ToolbarItem IconImageSource="print" Command="{Binding Commands.PrintDocument, Source={x:Reference pdfViewer}}" />
</ContentPage.ToolbarItems>

<dxpdf:PdfViewer x:Name="pdfViewer" DocumentSource="ReportMerging.pdf" />
See Also