Hi,
I can't seem to add Syncfusion.DirectXWrapper.WinRT.dll to my references, its necessary for the pdfviewer to work.
How did you guys do it?
br,
Marco
Hi Marco,
Thank you
for your interest in Syncfusion products.
Yes,
Syncfusion.DirectXWrapper.winmd reference is necessary for including PDF Viewer
control into Windows Store application. Please make sure to include “Syncfusion.DirectXWrapper.WinRT.winmd”
and not “Syncfusion.DirectXWrapper.WinRT.dll”.
Please find
our online documentation for including the PDF Viewer control into Windows
Store application in the link below.
Documentation link: http://help.syncfusion.com/UG/winrt/default.htm#!Documents/addingpdfviewercontr.htm
Please let
us know if you need any further assistance.
Thanks,
Suresh
I succesfully implemented the pdfviewer into my application.
Now I face a different problem. When I load a pdf file, most of the time I only get blank pages or only the first page is shown and the others are blank.
This is how I load a file in codebehind :
var stream = await file.OpenAsync(Windows.Storage.FileAccessMode.Read)
Stream fileStream = stream.AsStreamForRead()
byte[] buffer = new byte[fileStream.Length];
fileStream.Read(buffer, 0, buffer.Length);
PdfLoadedDocument ldoc = new PdfLoadedDocument(buffer);
pdfViewer.LoadDocument(ldoc);
Hi Marco,
Thank you
for your response.
Can you
please provide us the PDF document that is displayed blank in the PDF Viewer?
This would help up investigate on this issue and get back to you with more
information.
If the
document contains confidential information please create a Direct Trac incident
and post the document there.
Please let
us know if you have any concerns.
Thanks,
Suresh
Hi Marco,
Thank you
for your response.
We are able
to reproduce the issue with the documents provided. We have attached the sample
in the link below with which we tried to reproduce the issue. Please modify
this sample or provide us a new sample with which the issue could be
reproduced.
Sample link:
PDFViewerWintRT.zip
Please let
us know if you have any concerns.
Thanks,
Suresh
Hi Marco,
Kindly
ignore our previous response
We are not
able to reproduce the issue with the documents provided. We have attached a sample in the link below with which we tried to reproduce the issue. Please
modify this sample or provide us a new sample with which the issue could be
reproduced.
Sample link:
PDFViewerWintRT.zip
Please let
us know if you need any further assistance.
Thanks,
Suresh
Hi Stephan,
Thank you
for your interest in Syncfusion products.
Can you
please confirm that you have tried the sample we have provided in the last post
of this forum. If you still face the issue please create a Direct trac incident
to provide more details about your machine configuration for helping us to
reproduce the issue.
Please let
us know if you need any further assistance.
Thanks,
Suresh
Hi Vincenzo,
Thank you
for your interest in Syncfusion products.
We are not
able to reproduce the issue, please find the sample available in the link below
with which we tried to reproduce the issue. Please modify this sample or
provide us a new sample with which the issue could be reproduced.
Sample link:
http://www.syncfusion.com/downloads/support/directtrac/114356/PDFViewerWintRT1901925359.zip
Please let
us know if you have any concerns.
Thanks,
Suresh
Hi Vincenzo,
Thank you
for your interest in Syncfusion products.
We are not
able to reproduce the issue, please find the sample available in the link below
with which we tried to reproduce the issue. Please modify this sample or
provide us a new sample with which the issue could be reproduced.
Sample link:
http://www.syncfusion.com/downloads/support/directtrac/114356/PDFViewerWintRT1901925359.zip
Please let
us know if you have any concerns.
Thanks,
Suresh
Hi Vincenzo,
Thank you for your
response.
We are not able to reproduce
the issue “Blank pages are displayed in the PDF Viewer”. Can you please open a
Direct Trac incident to help us investigate the issue and get back to you with
a solution. The references you added to the project are correct.
Please let us know if
you need any further assistance.
Thanks,
Suresh
I encountered the same problem. Pdfviwer shows only blank pages . I tried to run my code on windows 8.1 then pdfviewer worked correctly. Is there any solution for windows 8 ?
Hi,
Thank you
for your interest in Syncfusion products.
We believe
that a Direct trac incident is already created and followed up for this issue
(incident 120293). Please follow up the incident for the solution.
Please let
us know if you need any further assistance.
Thanks,
Suresh