Need to Populate Save PDF to hard drive folder.

Need to Populate Save PDF to hard drive folder.

Forum member · Mar 3, 2010
I need to create a unique named document based on an invoice template, then save that document to a folder on the server. MyDocument.DrawToWeb("Invoice.pdf") Currently the above prints to a window. How can I change the name of the file and save?

Re: Need to Populate Save PDF to hard drive folder.

Support · Mar 3, 2010
Hello, You can use the Draw method that takes the filepath to where the document needs to be saved. document.Draw(@"C:\Temp\Test.pdf"); Thanks, ceTe Software Support Team