Moin,
Wenn ich beim Printdialog "mehr als 1 Ausdruck" haben möchte kommen diese hier nicht...
Weiss jemand was ich falsch mache
Wenn ich beim Printdialog "mehr als 1 Ausdruck" haben möchte kommen diese hier nicht...
Weiss jemand was ich falsch mache
C#-Quellcode
- PrintDialog pDialog = new PrintDialog();
- if (pDialog.ShowDialog() == DialogResult.OK)
- {
- Word.Document doc = WordApp.Documents.Add(paths + file);
- WordApp.ActivePrinter = pDialog.PrinterSettings.PrinterName;
- WordApp.ActiveDocument.PrintOut();
- WordApp.Visible = true;
- doc.Close(SaveChanges: false);
- doc = null;
- }