PdfViewerCommands.PrintDocument Property
In This Article
Returns the command that invokes the system print dialog.
Namespace: DevExpress.Maui.Pdf
Assembly: DevExpress.Maui.Pdf.dll
NuGet Package: DevExpress.Maui.Pdf
#Declaration
C#
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:
<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