Home All Groups Group Topic Archive Search About

opening and saving pdfs

Author
14 Apr 2005 1:42 PM
Evgeny
is there a way to read a pdf file into a binary array or a
stream and then write that binary array or stream to
another pdf.  I've been trying to do this and can get it
to work with a text file but am guessing you cannot do
this with a pdf file

Author
14 Apr 2005 4:05 PM
Herfried K. Wagner [MVP]
"Evgeny" <anonym***@discussions.microsoft.com> schrieb:
> is there a way to read a pdf file into a binary array or a
> stream and then write that binary array or stream to
> another pdf.  I've been trying to do this and can get it
> to work with a text file but am guessing you cannot do
> this with a pdf file

Yes, you can do that using the 'FileStream' class.  What didn't work?

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>