We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

pdf viewer

Thread ID:

Created:

Updated:

Platform:

Replies:

114019 Oct 23,2013 08:51 AM UTC Mar 13,2014 11:46 AM UTC WinRT 17
loading
Tags: SfPdfViewer
marco
Asked On October 23, 2013 08:51 AM UTC

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


Suresh M [Syncfusion]
Replied On October 25, 2013 04:31 AM UTC

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


marco
Replied On October 29, 2013 10:03 AM UTC

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);

 


Suresh M [Syncfusion]
Replied On October 30, 2013 06:58 AM UTC

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


marco
Replied On October 30, 2013 09:44 AM UTC

I provided 2 pdf files



Vanalles_332a3fd3.rar

Suresh M [Syncfusion]
Replied On November 7, 2013 04:42 AM UTC

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


Suresh M [Syncfusion]
Replied On November 7, 2013 05:14 AM UTC

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


Stephan Eggenberger
Replied On November 14, 2013 07:37 PM UTC

Hi 
I have exact the same problem with the blank pages as Marco has.
I tried the attached demo project.
Thanks for your help,
Stephan

Suresh M [Syncfusion]
Replied On November 19, 2013 04:44 AM UTC

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


devPa
Replied On November 20, 2013 01:52 PM UTC

Hello,
same problem for me. Already tried demo without success. :-/

Windows 8
VS 2012 Update 3 - .NET 4.5 - C#
WinRT (XAML) 11.3.0.30

Thanks.
Vincenzo


devPa
Replied On November 20, 2013 02:12 PM UTC

Update: problem not solved even with v11.3.0.33 (Service Pack) :-/

Suresh M [Syncfusion]
Replied On November 22, 2013 08:44 AM UTC

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


Suresh M [Syncfusion]
Replied On November 22, 2013 08:46 AM UTC

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


devPa
Replied On November 25, 2013 09:46 AM UTC

Hello,

I tried to deploy solution on x86 platforms.
I've added these references and i can successfully build the solution, but all pdf files loaded are blank.

http://www.imagestorming.com/OVPZ

http://www.imagestorming.com/OVPr

As soon as possible (today) I will try to test the ARM solution on Surface RT.

The references are OK? 
Documentation says "Add  [...] Syncfusion.Pdf.WinRT assemblies as reference to the project",but there isn't this dll at path "C:\Program Files (x86)\Syncfusion\Essential Studio\11.3.0.33\PrecompiledAssemblies\11.3.0.33\DirectX\8.0\XXX".... :-/

Thanks for your support.
Vincenzo

devPa
Replied On November 25, 2013 04:33 PM UTC

Update: Same behaviour on Surface RT :-(

Suresh M [Syncfusion]
Replied On November 26, 2013 03:45 AM UTC

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


FMS Bilgisayar Otom. Dan. Egt. Hizm. Oto. San ve T
Replied On March 13, 2014 07:34 AM UTC

  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 ?

Suresh M [Syncfusion]
Replied On March 13, 2014 11:46 AM UTC

  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


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;