|
S.No |
Query |
Details |
|
1 |
The idea is to control the zoom property using two button controls eg zoom in and zoom out.
Do you have a suggestion?
|
We have created a simple sample to update ZoomPercentage values using button controls. Please find the sample from the below link,
Kindly try the above solution and please let us know if any further assistance required.
|
|
2 |
How to pan left/right etc using either code behind or mvvm pattern? |
Could you please explain the use case for your requirement to pan the pages through code behind? It will be helpful for us to understand your requirement clearly and provide you a better solution. |
|
S.No |
Query |
Details |
|
1 |
I am using the Prism navigation service which requires an INavigationService parameter in the constructor.
The sample provided requires a parameterless constructor which conflicts with the above.
In the sample mainpage.xml the binding ZoomPercentage="{Binding PdFZoom}" is used.
In the PdfViewerViewModel, PdFZoom is declared as property but not used further - Is this intended?
|
Based on the details provided by you on 6th March, we assumed that you are using the binding of “ZoomPercentage” while launching the PdfViewer to control the Zoom value. We added the code for the same purpose in the sample.
Note: The Zoom percentage value will be reflected properly while launching the PdfViewer. |
|
2 |
From the sample, it seems that ZoomPercentage is not bindable to a ViewModel in the same way as InputFileStream is bindable.
The same goes for:
HorizontalOffset="{Binding HOffset}"
VerticalOffset="{Binding VOffset}" |
We were able to reproduce the issue “Zoom Percentage and offset values are not changing dynamically while binding using MVVM” in our side and suspect this to be a defect. We are currently validating the issue and we will update further details on 13th March 2020. |