Salut tout le monde
S'il vous plaît, je suis un debutant en VB.NET et en français
Comment puis-je imprimer en format A3 a travers ce code :
Merci de m'aider.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7 Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim PrintPreviewDialog1 As New PrintPreviewDialog PrintDocument1.DefaultPageSettings.Landscape = True PrintPreviewDialog1.Document = PrintDocument1 PrintPreviewDialog1.WindowState = FormWindowState.Maximized PrintPreviewDialog1.ShowDialog() End Sub
Partager