The PrintOut in the example results a silent print, when you print through the specified inputFile to the OutputFileName, which will be placed in the same folder as the original document, but it will be in PDF format with the. 5.1.0.2 Nitro PDF Software User rating Installed through our safe & fast downloader ( more info) Download Latest Version for Windows PrimoPDF is the web's 1 free software for creating 100 industry-standard PDF files. For more info about the doc please see the following MSDN links for _Document.PrintOut() The OutputFile is a full path string of the input document you would like to convert, and the doc is a regular document object. Set an object so there is less typing for values not needed Path.GetFileNameWithoutExtension(InputFile)+".pdf" convert input filename to new pdf name / Full path and filename with extension of the file you want to convert from / Convert a file to PDF using office _Document object ![]() ![]() You can print to the Windows 10 PDF printer, by using the PrintOut method and specifying the fourth output file name parameter, as in the following example: ///
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |