Rank: Newbie
Groups: Registered
Joined: 10/24/2016(UTC) Posts: 4  Location: Stockholm Thanks: 1 times
|
Hello, I've created a simple WPF test application (following your sample code) which loads a PDF (multiple pages) into the wpf-PdfViewer Control. It has the following attributes set: CanVerticallyScroll="True" CanHorizontallyScroll="True" ScrollViewer.HorizontalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.CanContentScroll="True Still... No scroll bars are visible. What am I missing? Edited by user Monday, October 24, 2016 2:30:38 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,113
Thanks: 8 times Was thanked: 130 time(s) in 127 post(s)
|
Hi, you should write the following XAML Code:
<ScrollViewer Grid.Row="1" CanContentScroll="True" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto">
<Wpf:PdfViewer Name="pdfViewer1" />
</ScrollViewer>
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 10/24/2016(UTC) Posts: 4  Location: Stockholm Thanks: 1 times
|
But of course - That did it! Thanks!
|
|
|
|
Forum Jump
You can post new topics in this forum.
You can reply to topics in this forum.
You can delete your posts in this forum.
You can edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.
Important Information:
The Patagames Software Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close