Saving PDF to the server

Dec 15, 2009 at 11:06 PM

I need to create a PDF document which has a streetmap, some basic graphics (rectangle neatline), text title, graphic scalebar, etc.   This isn't too tough to do, as I have the code to save a writeablebitmap of the screen image for the map, but I would like to save the whole PDF server-side so that I can open it in a new browser window as a print preview. 

Any methods for saving the PDF I create?  The document.save doesn't seem to support saving to anything but a string path, it will not take a URI so I cannot get the file saved to my server rather than the users local machine.

 

Tami

 

Coordinator
Jul 10, 2010 at 4:40 PM

I add two test project. You could download them here http://silverpdf.codeplex.com/SourceControl/list/changesets

Look at ServerUpload and ServerUpload.Web projects.