PDFViewWPF

Hi,

We are testing your PDFNet SDK. It's very interesting development kit!
We develop WPF applications and I have few questions on PDFViewWPF
control:
- We get application crash when we resize the control to a big size
more than full HD resolution ("unknown exception" in OnScrollChanged
method), do you know this issue ?
- We get blank pages when we resize this control, is there a way/ any
option to don't get any blinks when resizing ?
- Is there a way to display a particular page in WPF ? like
DocumentPageView for XPS document...

We also tested raster possibilities, they worked very well.

Thanks for your answer,
Anthony

Just so that were on the same page could you please use the following build:

32-bit: http://www.pdftron.com/IDR49Z9-B31B/PDFNetDotNet4.zip

64-bit: http://www.pdftron.com/IDR49Z9-B31B/PDFNet64DotNet4.zip

Then open PDFViewWPF or PDFViewWPFSimple from Samples folder.

  • Is there a way to display a particular page in WPF ? like DocumentPageView for XPS document…

Yes, this is possible with Single page presentation mode:

pdftron.PDF.PDFViewWPF.SetPagePresentationMode(pdftron.PDF.PDFViewWPF.PagePresentationMode).

pdftron.PDF.PDFViewWPF.PagePresentationMode.e_single_page

To select a specific a page you would use pdftron.PDF.PDFViewWPF.SetCurrentPage(int)

We get blank pages when we resize this control, is there a way/ any option

to don’t get any blinks when resizing ?

This will be resolved in the next update (to be released by the end of the year).

crash when we resize the control to a big size more than full HD resolution

How do you resize the control to more than full resolution? A sample code snippet (or a test project) would be helpful.