I am creating an application in WPF. I need to open any PDF document in a document viewer in C# WPF.
Is it possible with document viewer control?
Which property should I use to set the document path?
XAML Code:
<DocumentViewer x:Name="dv" HorizontalAlignment="Left"
VerticalAlignment="Top" Width="792" Height="419" Grid.ColumnSpan="2"/>
I want to open a PDF document in the DocumentViewer control.