Spire.PDFViewer is a powerful PDF Viewer component for .NET. It allows developers to load PDF document from stream, file and byte array.

Wed Oct 14, 2015 10:52 am

Hi,

Can we embedded one PDF in an HTML Frame with the PDF Viewer component as a preview of the document?

Thanks!

Blanquita_84
 
Posts: 44
Joined: Tue Oct 13, 2015 8:58 am

Thu Oct 15, 2015 2:37 am

Hi,

Our upcoming new product Spire.PdfViewer for asp.net supports the feature. We will tell you when it is released.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Thu Oct 22, 2015 6:54 am

Hi,

Thanks for waiting.
We just released new product Spire.PdfViewer for asp.net. It is included in this package:Spire.PDFViewer Pack Version:2.7 .
Downloading link is http://www.e-iceblue.com/Download/downl ... t-now.html. Welcome to download and test it.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Thu Oct 29, 2015 8:44 pm

Hi,

I tried use Spire.PDFViewer Pack Version:2.7, but it didn't works.

I follow the steps of your example in http://www.e-iceblue.com/Tutorials/Spir ... eader.html,
and I tried to show a document, who be located in my proyect but the page show the error "Error HTTP 404.0 - Not Found"

I tried the example adding the configuration code below to Web.config file manually, and creating the class PDFViewerControlDesigner but in either case works.

I use:

Internet Explorer 11.
Windows 7.
Visual Studio 2012.

I have included some changes, because I need show a document who be located in Sharepoint. This other case I still haven't tried it.

Do it is possible?? In this case, I don't send a path if not a url.

How I can send you my project? I try do this in the option "Upload attachment", but this not appear like "posted attachments".

I believe that my proyect it's too big for upload. The size of proyect compressed is 29 kb.

Thanks!

Blanquita_84
 
Posts: 44
Joined: Tue Oct 13, 2015 8:58 am

Fri Oct 30, 2015 7:49 am

Hi,

Thanks for reply.
Please send your project to amy.zhao@e-iceblue.com. It will help us resolve your issue soon. Thank you.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Fri Oct 30, 2015 8:55 am

Hi,

Thanks for providing.
I will download your project and then do an investigation for it. I will get back to you my investigation result.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Mon Nov 02, 2015 4:00 am

Hi,

Please ignore the example: http://www.e-iceblue.com/Tutorials/Spir ... eader.html. It was done before we didn't have Spire.PDFViewer for Asp.net component.
I provide you a live demo, the downloading link: http://www.e-iceblue.com/downloads/demo ... ForASP.zip

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Tue Nov 03, 2015 3:50 am

Hello,

Has your issue been resolved?
Thanks for your feedback.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Wed Nov 04, 2015 3:09 pm

Hi,

The demo works well , but my documents are located in Sharepoint and I need load the document from stream, but don't exist the method LoadFromStream.

Will exist this option more later?

Thanks!

Blanquita_84
 
Posts: 44
Joined: Tue Oct 13, 2015 8:58 am

Thu Nov 05, 2015 2:44 am

Hi,

Thanks for your message.
We have added the feature in our schedule. When it is supported, we will inform you.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Thu Nov 05, 2015 11:24 am

Hi,

Can you give me an approximate date? Because I 'm in the final phase of a project and I need to know this for buy or not the license PDFViewer.

Thanks

Blanquita_84
 
Posts: 44
Joined: Tue Oct 13, 2015 8:58 am

Fri Nov 06, 2015 6:59 am

Hi,

Thanks for inquiry.
My dev colleague told me that LoadFromStream method is different from LoadFromFile method in use.
If Loading stream object, that needs to cache the stream to the server. IIS has memory recovery mechanism. So if IIS releases stream, LoadFromStream method needs to be rerun.
Please tell me if you can accept that. If you can, we can provide you a new package next week.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Mon Nov 09, 2015 3:44 am

Hi,

LoadFromStream method has been added. There is a testing version, spire.pdfviewer_2.7.12. Please test it and tell us how it works.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Wed Nov 11, 2015 8:36 am

Hi,

How did LoadFromStream method work?
Thanks for your feedback.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Wed Nov 11, 2015 3:13 pm

Hi,

The method LoadFromStream works ok, but How I can resize the iframe depending on the size of the container?.

I upload a image of my case.

Thanks!

Blanquita_84
 
Posts: 44
Joined: Tue Oct 13, 2015 8:58 am

Return to Spire.PDFViewer