摘要:
进来搞Window打印,发现还是很好弄的,就是在PrintDocument上画,跟在Canvas画一样,要什么样子就画什么样子,先上示例代码private void button1_Click(object sender, RoutedEventArgs e) { var printDocument = new PrintDocument(); //指定打印机 printDocument.PrinterSettings.PrinterName = "Microsoft XPS Document Writer"; ... 阅读全文