![]() ![]() In the end, the dialog itself doesn't matter, but the 'Print Picture'-Dialog got all settings I need. Which I changed for the 'Print Picture'-Dialog. Private void pd_PrintPage(object sender, PrintPageEventArgs e) ![]() ![]() Pd.PrinterSettings.PrinterName = STR_PRINTER_NAME Pd.PrintPage += new PrintPageEventHandler(this.pd_PrintPage) I can now print one image to a pdf page, but how do I add other images? Additionally, in this solution, I can't see how to set the printing-settings, like size of the image, which should be as large as possible without cutting the image and changing to horizontal format. I tried it first with other methods, which didn't give me this one. So far so good, the right dialogue is showing. My current code looks like this: string fileName = p = new Process() As a printer, I want to use the 'Microsoft print to PDF'-Printer, which comes with windows 10. I want to print multiple images to a pdf file, but not using the regular print-dialogue, but the 'print pictures' dialogue (see image below). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |