|
|
One thing I did notice that may be a problem with VS WPF Scrollviewer is that the Horizontal Scroll does not appear even when made Visible. The Vertical works fine.
|
|
|
Ahh - I found the code. I could not discern that there was a link in your response (colors kinda merged on my screen). Thanks for the info. I tried and it seems to move the window towards the center as the window is enlarged but it remains the same size across. I guess I'm lookning for an auto zoom of the PDF. Maybe its more of a toolbar item. Not sure. But it does display the entire PDF contents within the width of the original PDFViewer which is good. But if a user want to increase everything in the main window it does not increase the size of the PDFViewer and contents. It is only recentering the viewer within the window. Not sure if there is anyway to do what I'm thinking would be accomplished. Thanks though for your help with this post.
|
|
|
Originally Posted by: eagleview  I cannot seem to find the example in the post. Is it an an attachment? No. Not in attachment. Just a XAML code of window whith PdfViewer on it.
|
|
|
Thanks for your help! I cannot seem to find the example in the post. Is it an an attachment?
|
|
|
Change the parent control to the Grid or other, which support needed behaviour Example in this post works as you need.
|
|
|
Hi,
Making progress with PDFium but hit one snag. The PDFViewer is contained in a ScrollViewer and working fine (scrolling, highlighting text, etc). But when the window is resized, the PDFViewer remains the same size. Is there a way to have the PDFViewer resize when the Main Window with the Scrollviewer are resized. I need the PDFViewer larger at times, depending upon what options/windows the user has selected. Any help is very much appreciated. Thanks!
|
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