Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Stream pdf from a webservice.

Thread Tools

Stream pdf from a webservice.

Jan Tielens
Posts: n/a

You could return the memorystream as a Byte Array:
public byte[] GetPDF()
System.IO.MemoryStream ms = new
//... do stuff
return ms.ToArray();

2) I would use the Acrobat Reader.


>-----Original Message-----
>Could anyone provice me the code for the following?
>1. How to stream a pdf file from a webservice? Do you
>return a memory stream?
>2. How to display this streamed pdf in
>I would appreciate actual code samples. Thanks in


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postscript to PDF with pdf-tools, pdf-writer, or other Sean Nakasone Ruby 1 04-14-2008 09:13 PM
PDF::Writer, create pdf and insert in other pdf file. Ricardo Pog Ruby 1 03-26-2008 08:24 PM
get stream mode flags from an opened stream Alexander Korsunsky C++ 1 02-17-2007 10:38 AM
How to GET multi-word input from a *file* stream as opposed to a *console* stream? C++ 9 04-27-2006 04:14 PM
Doing readline in a thread from a popen4('rsync ...') stream blocks when the stream ends. Rasmusson, Lars Python 1 04-30-2004 08:10 AM