GaiusSensei
GaiusSensei

Reputation: 1890

Upload a PDF file through Silverlight

I'm trying to piece together a library-like intranet website with silverlight. Is it possible to upload a pdf file from the client PC to the server?

Also, I'd like to show the first page of the pdf file.. can I open the file on the server, take a snapshot of the title page and save it as a jpg/png thumbnail? How about get other information such as page count?

Or do I have to rely on third-party software to do this for me? (meaning, SL can't do these tasks by itself)

Upvotes: 0

Views: 663

Answers (2)

Pete OHanlon
Pete OHanlon

Reputation: 9146

You can upload files from client PCs to the server using Silverlight. If you want to display the thumbnail of the first page, then you will need to open this using a third party control. Silverlight has no native support for manipulating PDF files.

Upvotes: 1

Graeme Bradbury
Graeme Bradbury

Reputation: 3721

It's possible to upload a file in silverlight, though you'll need some sort of 3rd party library to support opening/reading pdf files server side.

Upvotes: 0

Related Questions