locked
Windows Store App PDF Rendering

    Question

  • Hi,

    I am creating a simple windows 8.1 store demo app using c#-XAML in which I am rendering a pdf file on a button click to VirtualSurfaceImageSource  and then assigning it to the image using the code provided at below link,
    https://code.msdn.microsoft.com/PDF-viewer-showcase-sample-39ced1e8 .

    It does work fine  but for the pdf which contains high graphics and  when zoom factor is greater, app gets freezed and/or crashes. 

    I checked same PDF in "PDF-viewer-showcase-sample" and it crashes there too.

    What is the problem and how to resolve it?
    Is there any better way to handle the high graphic pdfs?

    Thank You.


    Tuesday, November 18, 2014 11:01 AM

All replies

  • Hi Tanvi03,

    I used a pdf contains some high graphics to test with the “PDF-viewer-showcase-sample” project, but it didn’t produce the same error. So I cannot reproduce your problem. Can you share your pdf? Please use your OneDrive and give me a link.

    Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.

    Wednesday, November 19, 2014 7:41 AM
    Moderator
  • Hi Herro Wong,

    As you have asked please use below link to download the PDF,

    https://onedrive.live.com/view.aspx?resid=A0E0602887ADFFB!164&app=WordPdf 

    the app is crashing On Windows  Surface Tablet.

    Thank you.

    Wednesday, November 19, 2014 10:17 AM