Skip to content

ProcessDestination method in PdfViewer for Wpf #4

Description

@pmilinmsn

ProcessDestination calculates the client width and height in order process FitR 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions