Hello everyone,
I'm using DocumentPreview to quickly preview the document.
And what I want is when I press a button, the document viewer position should move to a specific bookmark.
I tried to put the document preview in a frame and use URI to move it but nothing happends.
XAML
Code:
<Frame x:Name="DocFrame">
<Frame.Content>
<Grid x:Name="gridTest">
<md:DocumentPreview x:Name="Preview"/>
</Grid>
</Frame.Content>
</Frame>
C#
Code:
viewer.DocFrame.Navigate(new Uri("#3__sda", UriKind.Relative));
I also added the DDL.
Is there any way to navigate in preview window by using bookmarks? (or to navigate in preview window to go to a specific paragraph?)
If its not possible in migradoc document preview, is there anything else that I can use to preview and navigate in a WPF application?