Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Try
Dim m_PrintDocument = New Printing.PrintDocument
Dim printControl = New Printing.StandardPrintController ' 重點
m_PrintDocument.PrintController = printControl '重點
m_PrintDocument.Print()
End Sub
沒有留言:
張貼留言