logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

New Topic Post Reply
Options
Go to last post Go to first unread
pmilin  
#1 Posted : Tuesday, March 9, 2021 9:01:46 AM(UTC)
Quote
pmilin

Rank: Newbie

Groups: Registered
Joined: 4/21/2020(UTC)
Posts: 4
United States
Location: Fort Collins

According to the code in the Github Repo, ProcessDestination calculates the client width and height in order to process FitR, FitBH, FitBV destinations. In doing so it is subtracting off the system scrollbar width and height from the ActualWidth and ActualHeight properties of the viewer. The trouble is that in WPF, the pdfViewer needs to be put into a ScrollViewer in order to even have scrollbars and the ScrollViewer can have a control template that does not use the system scrollbar sizes. I think the ActualWidth and ActualHeight by itself is the proper value to use because it doesn't include the scrollbar width and height.
Quick Reply Show Quick Reply
Users browsing this topic
Guest
New Topic Post Reply
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.