PrintDialog
    This sample illustrates how to create an instance of a simple PrintDialog and then display it. The sample uses both Extensible Application Markup Language (XAML) and procedural code. 
    使用PrintDialog显示打印机设置(ShowDialog方法),以及可打印区域的width/height:

    3个按钮对应的function如下:
WPF SDK研究 Printing (1) PrintDialog        public void InvokePrint(object sender, RoutedEventArgs e)
        }


对于PrintDialog,大家并不陌生。而PrintQueue和PrintTicket则是NET3.5新增的两个类。在这个Sample中,这两个类并没有起到任何作用,甚至可以mark掉。

 

相关文章:

  • 2021-09-24
  • 2022-01-25
  • 2021-11-04
  • 2022-01-31
  • 2022-01-27
  • 2021-07-24
  • 2021-07-31
  • 2021-05-16
猜你喜欢
  • 2021-07-15
  • 2022-02-05
  • 2021-08-17
  • 2021-07-03
  • 2022-03-07
  • 2021-11-02
  • 2021-12-06
相关资源
相似解决方案