Knowledgebase: Developer
Set PDF file name from .NET framework
Posted by Craig Lebakken on 04 January 2007 04:43 PM
|
|
Problem: How do I set the PDF file name from a .NET application? Solution: You can set the PDF file name using the PrinterSettings.PrintFileName property as in: PrintDocument.PrinterSettings.PrintFileName = "c:\aFile.pdf" PrintDocument.PrinterSettings.PrintToFile = true; The PrintFileName and PrintToFile properties require the .NET framework 2.0 or above. | |
|
Comments (0)
Copyright 2000-2018 © Dane Prairie Systems LLC. All Rights Reserved. About Us | Privacy Policy | PDF Blog | Site Map