Loading a stream in PdfViewer on Android Chrome is supported?

0
0

Hi!
My code is like

var stream = //any pdf stream
stream.Position = 0;
pdfViewer1.PdfStream = stream;

Works on desktop, but fails in android chrome

  • You must to post comments
0
0

Hi,

I presume you are referring to a Wisej web application, as opposed to a Wisej standalone application.

There is a download sample on GitHub that shows 3 different ways of receiving a PDF.

HTH

  • You must to post comments
0
0

In wisej app i have a pdfviewer that is loaded by stream.
On desktop browser works ok pdf display on pdfviewer as expected, but in mobile android chrome browser fails to load in pdfviewer, it doesn’t shows
I want to know if i can use pdfviewer on mobile android chrome browser
Thanks in advance!

  • You must to post comments
0
0

If the mobile device has a pdf user yes. If it doesn’t then you can try the mozilla pdf viewer. Wisej supports: 1) native, 2) mozilla pdf.js, 3) custom. The stream has nothing to do with the device. If the device has a native viewer then you should use it.

 

  1. Set pdfviewer to Auto. If it doesn’t work it means that your device or browser don’t support pdf.
  2. Set pdfviewer to Google. If it doesn’t work it means that the google pdf viewer doesn’t work on the device or browser.
  3. Set pdfviewer to Mozilla. If it doesn’t work it means that the mozilla pdfjs viewer doesn’t work on he device or browser.
  4. Set pdfviewer to Custom. In this case you have to set a url to a custom pdf viewer that works on the device or browser.

HTH

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.